{"id":18672123,"url":"https://github.com/dfirebaugh/crop","last_synced_at":"2025-11-06T21:30:40.012Z","repository":{"id":168029783,"uuid":"643652020","full_name":"dfirebaugh/crop","owner":"dfirebaugh","description":"a very simple cli tool to crop down png images","archived":false,"fork":false,"pushed_at":"2023-05-21T20:49:46.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T19:29:54.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/dfirebaugh.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":"2023-05-21T20:40:15.000Z","updated_at":"2023-05-21T20:41:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"9190c4c8-6750-4fc2-81a2-f3cd33210ecd","html_url":"https://github.com/dfirebaugh/crop","commit_stats":null,"previous_names":["dfirebaugh/crop"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Fcrop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Fcrop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Fcrop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Fcrop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfirebaugh","download_url":"https://codeload.github.com/dfirebaugh/crop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239513345,"owners_count":19651321,"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":[],"created_at":"2024-11-07T09:09:33.450Z","updated_at":"2025-11-06T21:30:39.955Z","avatar_url":"https://github.com/dfirebaugh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crop\nI needed a tool to crop a bunch of png images.  So, this is a very simple cli tool to crop images down.\n\n\u003e note: at the moment this will only crop from the top left corner to a certain width and height -- it also defaults to 128x128 if you don't pass in `-x` and `-y` flags\n\n## Usage\n\n#### Basic usage\n```bash\ncrop\n\nUsage: go run crop.go [-i=\u003cdir\u003e] [-o=\u003coutputDir\u003e] [-x=\u003cpixels to crop\u003e] [-y=\u003cpixels to crop\u003e] \u003cimage\u003e\n```\n\nYou can crop one image:\n\n```bash\ncrop \u003cimage filepath\u003e\n```\n\n... or crop an entire directory\n\n```bash\ncrop -i \u003cpath to input directory\u003e -o \u003cpath to output directory\u003e\n```\n\n```bash\ncrop -i ./assets/original/ -o ./assets/cropped/ -x 128 -y 128\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfirebaugh%2Fcrop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfirebaugh%2Fcrop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfirebaugh%2Fcrop/lists"}