{"id":18145036,"url":"https://github.com/matchachoco010/pgjmin","last_synced_at":"2025-10-17T14:08:24.112Z","repository":{"id":79776821,"uuid":"150206536","full_name":"MatchaChoco010/pgjmin","owner":"MatchaChoco010","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-26T00:06:59.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T02:26:04.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/MatchaChoco010.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":"2018-09-25T04:13:43.000Z","updated_at":"2018-09-26T00:07:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"7962f2f4-f2a4-47df-b73a-66131bd9b589","html_url":"https://github.com/MatchaChoco010/pgjmin","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/MatchaChoco010%2Fpgjmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fpgjmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fpgjmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fpgjmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatchaChoco010","download_url":"https://codeload.github.com/MatchaChoco010/pgjmin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247544345,"owners_count":20955987,"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-01T20:07:09.800Z","updated_at":"2025-10-17T14:08:24.027Z","avatar_url":"https://github.com/MatchaChoco010.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pgjmin\n\na cli tool for minify png gif and jpg\n\n## Install\n\n```\n$ npm install -g git://github.com/MatchaChoco010/pgjmin.git\n```\n\n## Usage\n\n```\n$ pgjmin [options] \u003cfiles\u003e\n```\n\n```\n$ pgjmin -o out/ \"*.jpg\"\n$ pgjmin -o out/ \"*.{png,jpg}\"\n$ pgjmin -o out/ -w 300 -h 300 \"*.gif\" \"*.png\"\n$ pgjmin -o out/ --pngquant-quality 65-80 --pngquant-posterize 4 \"*.png\"\n$ pgjmin -o out --mozjpeg-quality 0 --pngquant-posterize 4 --gifsicle--colors 64 --gifsicle-optimize 3 *.png *.gif *.jpg\n```\n\n### Option\n\n- -o, --out-dir\n\n[required]\n\noutput directory path.\n\n- -w, --width\n\nmax width\n\n- -h, --height\n\nmax height\n\n- --pngquant-quality\n\n\u003e Instructs pngquant to use the least amount of colors required to meet or exceed the max quality. If conversion results in quality below the min quality the image won't be saved.\n\n\u003e Min and max are numbers in range 0 (worst) to 100 (perfect), similar to JPEG.\n\n- --pngquant-posterize\n\n\u003e Reduce precision of the palette by number of bits. Use when the image will be displayed on low-depth screens (e.g. 16-bit displays or compressed textures).\n\n- --gifsicle-optimize\n\n\u003e Select an optimization level between 1 and 3.\n\u003e\n\u003e \u003e The optimization level determines how much optimization is done; higher levels take longer, but may have better results.\n\u003e\n\u003e 1. Stores only the changed portion of each image.\n\u003e 2. Also uses transparency to shrink the file further.\n\u003e 3. Try several optimization methods (usually slower, sometimes better results)\n\n- --gifsicle-colors\n\n\u003e Reduce the number of distinct colors in each output GIF to num or less. Num must be between 2 and 256.\n\n- --mozjpeg-quality\n\n\u003e Compression quality, in range 0 (worst) to 100 (perfect).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatchachoco010%2Fpgjmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatchachoco010%2Fpgjmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatchachoco010%2Fpgjmin/lists"}