{"id":16874596,"url":"https://github.com/joway/imagic","last_synced_at":"2026-03-01T03:32:55.911Z","repository":{"id":52452981,"uuid":"164430775","full_name":"joway/imagic","owner":"joway","description":"An easy and fast tool to process images.","archived":false,"fork":false,"pushed_at":"2021-04-28T21:42:08.000Z","size":46164,"stargazers_count":18,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-17T23:19:24.778Z","etag":null,"topics":["cli","compression","image-processing","libimagequant","watermark"],"latest_commit_sha":null,"homepage":"https://imagic.joway.io","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/joway.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}},"created_at":"2019-01-07T12:40:10.000Z","updated_at":"2025-05-14T03:35:02.000Z","dependencies_parsed_at":"2022-08-18T11:21:50.050Z","dependency_job_id":null,"html_url":"https://github.com/joway/imagic","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/joway/imagic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2Fimagic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2Fimagic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2Fimagic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2Fimagic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joway","download_url":"https://codeload.github.com/joway/imagic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2Fimagic/sbom","scorecard":{"id":535026,"data":{"date":"2025-08-11","repo":{"name":"github.com/joway/imagic","commit":"30bba837d19b1205b8fdf79835f7f83ed54974e7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.2.6 not signed: https://api.github.com/repos/joway/imagic/releases/15754178","Warn: release artifact v0.2.6 does not have provenance: https://api.github.com/repos/joway/imagic/releases/15754178"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-q7pp-wcgr-pffx","Warn: Project is vulnerable to: GO-2023-1572 / GHSA-qgc7-mgm3-q253","Warn: Project is vulnerable to: GO-2023-1990 / GHSA-j3p8-6mrq-6g7h","Warn: Project is vulnerable to: GO-2023-1989 / GHSA-x92r-3vfx-4cv3","Warn: Project is vulnerable to: GO-2024-2937 / GHSA-9phm-fm57-rhg8","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: CVE-2016-5735"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T06:42:32.606Z","repository_id":52452981,"created_at":"2025-08-20T06:42:32.607Z","updated_at":"2025-08-20T06:42:32.607Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29959375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","compression","image-processing","libimagequant","watermark"],"created_at":"2024-10-13T15:33:24.017Z","updated_at":"2026-03-01T03:32:55.888Z","avatar_url":"https://github.com/joway.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Imagic\n\n\u003cimg width=\"128px\" src=\"logo.png\" alt=\"logo\"\u003e\n\n![GitHub release](https://img.shields.io/github/tag/joway/imagic.svg?label=release)\n[![Travis Build](https://travis-ci.org/joway/imagic.svg?branch=master)](https://travis-ci.org/joway/imagic)\n[![Go Report Card](https://goreportcard.com/badge/github.com/joway/imagic)](https://goreportcard.com/report/github.com/joway/imagic)\n[![codecov](https://codecov.io/gh/joway/imagic/branch/master/graph/badge.svg)](https://codecov.io/gh/joway/imagic)\n[![CircleCI](https://circleci.com/gh/joway/imagic.svg?style=shield)](https://circleci.com/gh/joway/imagic)\n\nAn easy and fast tool to process images.\n\n[https://github.com/joway/imagic](https://github.com/joway/imagic)\n\n## Install\n\n```shell\ngo get github.com/joway/imagic\n```\n\nOr\n\n[Download binary](https://github.com/joway/imagic/releases)\n\n## Usage\n\n### Supported format\n\n- png\n- jpeg\n\n### Global Flags\n\n```shell\n-o, --output string   Output directory\n-p, --parallel int    Number of parallel tasks (default 4)\n-s, --suffix string   Suffix of precessed image filename, format: [base_filename][suffix].[ext]\n```\n\n### Compress\n\n#### Usage\n\n```\n-q, --quality int     Quality of image compression (default 70)\n```\n\n#### Example\n\n```shell\n$ imagic compress -q 70 -p 10 \\\n\t-s .comp -o ./output \\\n\t./testdata/**/*.png\n```\n\n### Resize\n\n#### Usage\n\n```shell\n-l, --height int   Height of output image, default adaptive\n-w, --width int    Width of output image, default adaptive\n```\n\n#### Example\n\n```shell\n$ imagic resize -w 320 -p 10 \\\n\t-s .comp -o ./output \\\n\t./testdata/**/*.jpg\n```\n\n### Watermark\n\n#### Usage\n\n```shell\n-x, --X string         Pos X (default \"+0\")\n-y, --Y string         Pos Y (default \"+0\")\n-t, --texture string   Texture filename\n```\n\n#### Example\n\n```shell\n$ imagic watermark -x -600 -y -100 \\\n\t-t ./testdata/images/texture.png \\\n\t-p 10 -o ./output \\\n\t./testdata/**/*.jpg\n```\n\n#### X,Y Position:\n\n![watermark](watermark.png)\n\n## Who's using Imagic?\n\n[Jallery](https://pho.joway.io)\n\n## Benchmark\n\n[benchmark.md](docs/benchmark.md)\n\n## Acknowledgement\n\n- [libimagequant-go](https://github.com/joway/libimagequant-go)\n- [imaging](https://github.com/disintegration/imaging)\n- [mergi](https://github.com/noelyahan/mergi)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoway%2Fimagic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoway%2Fimagic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoway%2Fimagic/lists"}