{"id":18721806,"url":"https://github.com/pedro-gutierrez/goimg","last_synced_at":"2025-11-11T02:30:21.621Z","repository":{"id":111579261,"uuid":"140154277","full_name":"pedro-gutierrez/goimg","owner":"pedro-gutierrez","description":"A simple Golang image resizing command line utility, based on Libvips and Bimg.","archived":false,"fork":false,"pushed_at":"2018-08-08T15:10:05.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T11:45:33.380Z","etag":null,"topics":["bimg","golang","image-processing","libvips","thumbnail"],"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/pedro-gutierrez.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":"2018-07-08T09:28:38.000Z","updated_at":"2018-08-08T15:10:07.000Z","dependencies_parsed_at":"2023-10-03T19:52:04.301Z","dependency_job_id":null,"html_url":"https://github.com/pedro-gutierrez/goimg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-gutierrez%2Fgoimg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-gutierrez%2Fgoimg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-gutierrez%2Fgoimg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-gutierrez%2Fgoimg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedro-gutierrez","download_url":"https://codeload.github.com/pedro-gutierrez/goimg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239587279,"owners_count":19663892,"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":["bimg","golang","image-processing","libvips","thumbnail"],"created_at":"2024-11-07T13:36:48.460Z","updated_at":"2025-11-11T02:30:21.581Z","avatar_url":"https://github.com/pedro-gutierrez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Goimg\n\nA simple Golang image resizing command line utility, based on Libvips and Bimg.\n\n## Building\n\nMake sure you have Libvips installed. Then simply clone this repo and run:\n\n```\ngo get\ngo install\n```\n\n## Usage\n\nThe following command will download the original file at the specified url, and will produce the following 4 thumbnails:\n\n* /tmp/sierra-original.jpg\n* /tmp/sierra-big.jpg\n* /tmp/sierra-regular.jpg\n* /tmp/sierra-small.jpg\n\n```\ngoimg url https://cdn-images-1.medium.com/max/2000/1*4BPoUrWcf67bdaKyZPARMg.png /tmp sierra jpg big,regular,small \n```\n\n## Presets \n\nGoimg comes with the following thumbnail size presets:\n\n```\nsizes := map[string]int{\n  \"large\":   1024,\n  \"big\":     800,\n  \"regular\": 480,\n  \"small\":   320,\n  \"tiny\":    128,\n}\n```\n\nGoimg uses Libvips smartcrop in order to normalize aspect ratios that are bigger than 16:9. For smaller aspect ratios, the original value is kept.\n\n\n## Related projects\n\n* Libvips: https://github.com/jcupitt/libvips\n* Bimg: https://github.com/h2non/bimg\n* Imaginary: https://github.com/h2non/imaginary\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedro-gutierrez%2Fgoimg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedro-gutierrez%2Fgoimg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedro-gutierrez%2Fgoimg/lists"}