{"id":19819874,"url":"https://github.com/pmmppluginsrepository/imageresize","last_synced_at":"2026-01-05T23:03:22.423Z","repository":{"id":125462992,"uuid":"478535038","full_name":"PMMPPluginsRepository/ImageResize","owner":"PMMPPluginsRepository","description":"PocketMine-MP virion that resize image size","archived":false,"fork":false,"pushed_at":"2022-04-06T13:57:15.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T14:51:18.562Z","etag":null,"topics":["pocketmine","virion"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PMMPPluginsRepository.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-06T11:45:19.000Z","updated_at":"2024-09-28T03:23:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2238c26-1732-4c45-8f93-480773f74657","html_url":"https://github.com/PMMPPluginsRepository/ImageResize","commit_stats":null,"previous_names":["pmmppluginsrepository/imageresize"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PMMPPluginsRepository%2FImageResize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PMMPPluginsRepository%2FImageResize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PMMPPluginsRepository%2FImageResize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PMMPPluginsRepository%2FImageResize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PMMPPluginsRepository","download_url":"https://codeload.github.com/PMMPPluginsRepository/ImageResize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245502992,"owners_count":20626085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pocketmine","virion"],"created_at":"2024-11-12T10:20:25.388Z","updated_at":"2026-01-05T23:03:22.335Z","avatar_url":"https://github.com/PMMPPluginsRepository.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImageResize\nPocketMine-MP virion that resize image size\n\n## Installation\n[Download Zip](https://github.com/Melodylan/ImageResize/archive/refs/heads/main.zip)\n\n## Usage\n\nThe image converter tool has the ability to resize images. \u003cbr\u003e\nSupported image formats are ```png```, ```jpg```, and ```gif```.\n\nCalled the class to resize the image\n```php\nuse skh6075\\lib\\imageresize\\ImageResize;\n```\n\nGet the image path and called the converter.\n```php\n$converter = ImageResize::converter(string $imagePath);\n```\n\nAfter writing down the size to be adjusted and the path to save the adjusted image, \u003cbr\u003e\ncall the resizing method.\n```php\n$converter-\u003eresizing(string $destPath, int $width, int $height);\n```\n\nThis is a method to check the image adjustment result for developers.\n```php\nuse skh6075\\lib\\imageresize\\convert\\utils\\ImageResizeResult;\n\nswitch($converter){\n    case ImageResizeResult::SUCCESS():\n        echo \"Image resizing success\";\n        break;\n    case ImageResizeResult::FAILURE():\n        echo \"Image resizing failure\";\n        break;\n    case ImageResizeResult::NONE():\n        echo \"Prepare for image resizing\";\n        break;\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmmppluginsrepository%2Fimageresize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmmppluginsrepository%2Fimageresize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmmppluginsrepository%2Fimageresize/lists"}