{"id":13418434,"url":"https://github.com/google/guetzli","last_synced_at":"2026-02-21T06:31:22.123Z","repository":{"id":39620276,"uuid":"71576450","full_name":"google/guetzli","owner":"google","description":"Perceptual JPEG encoder","archived":false,"fork":false,"pushed_at":"2023-04-22T19:41:10.000Z","size":490,"stargazers_count":12948,"open_issues_count":124,"forks_count":1005,"subscribers_count":468,"default_branch":"master","last_synced_at":"2026-02-05T18:57:09.925Z","etag":null,"topics":["jpeg-encoder"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-10-21T15:13:18.000Z","updated_at":"2026-02-03T03:53:26.000Z","dependencies_parsed_at":"2022-07-13T09:10:31.498Z","dependency_job_id":"9005e791-860b-4a33-9f4b-e803732d0908","html_url":"https://github.com/google/guetzli","commit_stats":{"total_commits":121,"total_committers":21,"mean_commits":5.761904761904762,"dds":0.6115702479338843,"last_synced_commit":"214f2bb42abf5a577c079d00add5d6cc470620d3"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/google/guetzli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fguetzli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fguetzli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fguetzli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fguetzli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/guetzli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fguetzli/sbom","scorecard":{"id":437164,"data":{"date":"2025-08-11","repo":{"name":"github.com/google/guetzli","commit":"214f2bb42abf5a577c079d00add5d6cc470620d3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.8,"checks":[{"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":"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":8,"reason":"Found 13/15 approved changesets -- score normalized to 8","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":"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":"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":"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":"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":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found","Info: CppLibFuzzer integration found: fuzz_target.cc:6","Info: CppLibFuzzer integration found: fuzz_target.cc:6"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/google/guetzli/releases/5821591","Warn: release artifact v1.0 not signed: https://api.github.com/repos/google/guetzli/releases/5752902","Warn: release artifact v0.2 not signed: https://api.github.com/repos/google/guetzli/releases/5184199","Warn: release artifact v0.1 not signed: https://api.github.com/repos/google/guetzli/releases/4981278","Warn: release artifact v0 not signed: https://api.github.com/repos/google/guetzli/releases/4452434","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/google/guetzli/releases/5821591","Warn: release artifact v1.0 does not have provenance: https://api.github.com/repos/google/guetzli/releases/5752902","Warn: release artifact v0.2 does not have provenance: https://api.github.com/repos/google/guetzli/releases/5184199","Warn: release artifact v0.1 does not have provenance: https://api.github.com/repos/google/guetzli/releases/4981278","Warn: release artifact v0 does not have provenance: https://api.github.com/repos/google/guetzli/releases/4452434"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/google/.github/SECURITY.md:1","Info: Found linked content: github.com/google/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/google/.github/SECURITY.md:1","Info: Found text in security policy: github.com/google/.github/SECURITY.md:1"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 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"}}]},"last_synced_at":"2025-08-19T04:57:31.652Z","repository_id":39620276,"created_at":"2025-08-19T04:57:31.652Z","updated_at":"2025-08-19T04:57:31.652Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29192436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["jpeg-encoder"],"created_at":"2024-07-30T22:01:02.289Z","updated_at":"2026-02-21T06:31:22.108Z","avatar_url":"https://github.com/google.png","language":"C++","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://cloud.githubusercontent.com/assets/203457/24553916/1f3f88b6-162c-11e7-990a-731b2560f15c.png\" alt=\"Guetzli\" width=\"64\"\u003e\u003c/p\u003e\n\n# Introduction\n\nGuetzli is a JPEG encoder that aims for excellent compression density at high\nvisual quality. Guetzli-generated images are typically 20-30% smaller than\nimages of equivalent quality generated by libjpeg. Guetzli generates only\nsequential (nonprogressive) JPEGs due to faster decompression speeds they offer.\n\n[![Build Status](https://travis-ci.org/google/guetzli.svg?branch=master)](https://travis-ci.org/google/guetzli)\n\n# Building\n\n## On POSIX systems\n\n1.  Get a copy of the source code, either by cloning this repository, or by\n    downloading an\n    [archive](https://github.com/google/guetzli/archive/master.zip) and\n    unpacking it.\n2.  Install [libpng](http://www.libpng.org/pub/png/libpng.html).\n    If using your operating system\n    package manager, install development versions of the packages if the\n    distinction exists.\n    *   On Ubuntu, do `apt-get install libpng-dev`.\n    *   On Fedora, do `dnf install libpng-devel`. \n    *   On Arch Linux, do `pacman -S libpng`.\n    *   On Alpine Linux, do `apk add libpng-dev`.\n3.  Run `make` and expect the binary to be created in `bin/Release/guetzli`.\n\n## On Windows\n\n1.  Get a copy of the source code, either by cloning this repository, or by\n    downloading an\n    [archive](https://github.com/google/guetzli/archive/master.zip) and\n    unpacking it.\n2.  Install [Visual Studio 2015](https://www.visualstudio.com) and\n    [vcpkg](https://github.com/Microsoft/vcpkg)\n3.  Install `libpng` using vcpkg: `.\\vcpkg install libpng`.\n4.  Cause the installed packages to be available system-wide: `.\\vcpkg integrate\n    install`. If you prefer not to do this, refer to [vcpkg's\n    documentation](https://github.com/Microsoft/vcpkg/blob/master/docs/EXAMPLES.md#example-1-2).\n5.  Open the Visual Studio project enclosed in the repository and build it.\n\n## On macOS\n\nTo install using [Homebrew](https://brew.sh/):\n1. Install [Homebrew](https://brew.sh/)\n2. `brew install guetzli`\n\nTo install using the repository:\n1.  Get a copy of the source code, either by cloning this repository, or by\n    downloading an\n    [archive](https://github.com/google/guetzli/archive/master.zip) and\n    unpacking it.\n2.  Install [Homebrew](https://brew.sh/) or [MacPorts](https://www.macports.org/)\n3.  Install `libpng`\n    *   Using [Homebrew](https://brew.sh/): `brew install libpng`.\n    *   Using [MacPorts](https://www.macports.org/): `port install libpng` (You may need to use `sudo`).\n4.  Run the following command to build the binary in `bin/Release/guetzli`.\n    *   If you installed using [Homebrew](https://brew.sh/) simply use `make`\n    *   If you installed using [MacPorts](https://www.macports.org/) use `CFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' make`\n\n## With Bazel\n\nThere's also a [Bazel](https://bazel.build) build configuration provided. If you\nhave Bazel installed, you can also compile Guetzli by running `bazel build -c opt //:guetzli`.\n\n# Using\n\n**Note:** Guetzli uses a large amount of memory. You should provide 300MB of\nmemory per 1MPix of the input image.\n\n**Note:** Guetzli uses a significant amount of CPU time. You should count on\nusing about 1 minute of CPU per 1 MPix of input image.\n\n**Note:** Guetzli assumes that input is in **sRGB profile** with a **gamma of\n2.2**. Guetzli will ignore any color-profile metadata in the image.\n\nTo try out Guetzli you need to [build](#building) or\n[download](https://github.com/google/guetzli/releases) the Guetzli binary. The\nbinary reads a PNG or JPEG image and creates an optimized JPEG image:\n\n```bash\nguetzli [--quality Q] [--verbose] original.png output.jpg\nguetzli [--quality Q] [--verbose] original.jpg output.jpg\n```\n\nNote that Guetzli is designed to work on high quality images. You should always\nprefer providing uncompressed input images (e.g. that haven't been already\ncompressed with any JPEG encoders, including Guetzli). While it will work on other\nimages too, results will be poorer. You can try compressing an enclosed [sample\nhigh quality\nimage](https://github.com/google/guetzli/releases/download/v0/bees.png).\n\nYou can pass a `--quality Q` parameter to set quality in units equivalent to\nlibjpeg quality. You can also pass a `--verbose` flag to see a trace of encoding\nattempts made.\n\nPlease note that JPEG images do not support alpha channel (transparency). If the\ninput is a PNG with an alpha channel, it will be overlaid on black background\nbefore encoding.\n","funding_links":[],"categories":["C++","others","Images","Tools","Projects built with Bazel","Libraries"],"sub_categories":["Compression","C++","Google projects","Graphics"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fguetzli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Fguetzli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fguetzli/lists"}