{"id":19265853,"url":"https://github.com/eze-kiel/ratio","last_synced_at":"2025-02-23T19:24:50.151Z","repository":{"id":107698051,"uuid":"326657580","full_name":"eze-kiel/ratio","owner":"eze-kiel","description":"Generate different ratios of an image.","archived":false,"fork":false,"pushed_at":"2021-01-08T20:16:14.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-04T17:45:02.141Z","etag":null,"topics":["go","golang","height","images","ratio","size","width"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eze-kiel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-01-04T11:10:33.000Z","updated_at":"2024-06-19T12:33:52.717Z","dependencies_parsed_at":"2023-06-08T19:15:09.545Z","dependency_job_id":null,"html_url":"https://github.com/eze-kiel/ratio","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eze-kiel%2Fratio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eze-kiel%2Fratio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eze-kiel%2Fratio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eze-kiel%2Fratio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eze-kiel","download_url":"https://codeload.github.com/eze-kiel/ratio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240366422,"owners_count":19790087,"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":["go","golang","height","images","ratio","size","width"],"created_at":"2024-11-09T19:49:03.681Z","updated_at":"2025-02-23T19:24:50.073Z","avatar_url":"https://github.com/eze-kiel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ratio\n\nGenerate differents ratios of an image.\n\n## Installation\n\n```\n$ git clone https://github.com/eze-kiel/ratio.git\n$ cd ratio\n$ go build\n```\n\nHowever, you can get the built binary from [the releases](https://github.com/eze-kiel/ratio/releases).\n\n## Usage\n\n```\nUsage: ratio [-i] [width] [height]\n```\n\nWhere `-i` is the increase flag.\n\nExamples:\n\n```\n$ ratio 1920 1080\n%\twidth\theight\n10\t192\t108\n20\t384\t216\n30\t576\t324\n40\t768\t432\n50\t960\t540\n60\t1152\t648\n70\t1344\t756\n80\t1536\t864\n90\t1728\t972\n100\t1920\t1080\n```\n\nWith the increase flag (`-i`):\n\n```\n$ ratio -i 1920 1080\n%       width   height\n110     2112    1188\n120     2304    1296\n130     2496    1404\n140     2688    1512\n150     2880    1620\n160     3072    1728\n170     3264    1836\n180     3456    1944\n190     3648    2052\n200     3840    2160\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feze-kiel%2Fratio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feze-kiel%2Fratio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feze-kiel%2Fratio/lists"}