{"id":24857432,"url":"https://github.com/vstroebel/jpeg-encoder","last_synced_at":"2026-01-20T08:01:07.962Z","repository":{"id":42574571,"uuid":"362799750","full_name":"vstroebel/jpeg-encoder","owner":"vstroebel","description":"JPEG encoder written in Rust","archived":false,"fork":false,"pushed_at":"2025-11-25T18:05:06.000Z","size":225,"stargazers_count":32,"open_issues_count":9,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T14:08:29.317Z","etag":null,"topics":["jpeg-encoder","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/vstroebel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-29T11:51:37.000Z","updated_at":"2025-11-25T16:59:16.000Z","dependencies_parsed_at":"2025-12-18T06:05:24.745Z","dependency_job_id":null,"html_url":"https://github.com/vstroebel/jpeg-encoder","commit_stats":{"total_commits":133,"total_committers":3,"mean_commits":"44.333333333333336","dds":"0.022556390977443663","last_synced_commit":"900ac0d28cf09deeaab24e1b37c82b32f5c48de1"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/vstroebel/jpeg-encoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vstroebel%2Fjpeg-encoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vstroebel%2Fjpeg-encoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vstroebel%2Fjpeg-encoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vstroebel%2Fjpeg-encoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vstroebel","download_url":"https://codeload.github.com/vstroebel/jpeg-encoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vstroebel%2Fjpeg-encoder/sbom","scorecard":{"id":1238809,"data":{"date":"2025-10-06","repo":{"name":"github.com/vstroebel/jpeg-encoder","commit":"d85bc4c329b1d9060e1c87ac8fff79a48cc4c734"},"scorecard":{"version":"v5.3.1-0.20251003215448-f542d69ba0cd","commit":"f542d69ba0cd01fcff1cc4395b9780f2476af14d"},"score":4.5,"checks":[{"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/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/rust.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#token-permissions"}},{"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/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/28 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/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#code-review"}},{"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/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/vstroebel/jpeg-encoder/rust.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/vstroebel/jpeg-encoder/rust.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/vstroebel/jpeg-encoder/rust.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/vstroebel/jpeg-encoder/rust.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f542d69ba0cd01fcff1cc4395b9780f2476af14d/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/f542d69ba0cd01fcff1cc4395b9780f2476af14d/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/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: RustCargoFuzzer integration found: fuzz/fuzz_targets/encode_rgb.rs:3","Info: RustCargoFuzzer integration found: fuzz/fuzz_targets/encode_rgb_custom_q_table.rs:3","Info: RustCargoFuzzer integration found: fuzz/fuzz_targets/encode_rgb_optimized.rs:3","Info: RustCargoFuzzer integration found: fuzz/fuzz_targets/encode_rgb_progressive.rs:3","Info: RustCargoFuzzer integration found: fuzz/fuzz_targets/encode_rgb_subsampled.rs:3","Info: RustCargoFuzzer integration found: fuzz/fuzz_targets/encode_ycck_progressive.rs:3"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#license"}},{"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/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md","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/f542d69ba0cd01fcff1cc4395b9780f2476af14d/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 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f542d69ba0cd01fcff1cc4395b9780f2476af14d/docs/checks.md#sast"}}]},"last_synced_at":"2025-10-15T23:43:27.225Z","repository_id":42574571,"created_at":"2025-10-15T23:43:27.225Z","updated_at":"2025-10-15T23:43:27.225Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28598874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: 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","rust"],"created_at":"2025-01-31T17:53:45.406Z","updated_at":"2026-01-20T08:01:07.905Z","avatar_url":"https://github.com/vstroebel.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JPEG encoder\n\n[![docs.rs badge](https://docs.rs/jpeg-encoder/badge.svg)](https://docs.rs/jpeg-encoder/)\n[![crates.io badge](https://img.shields.io/crates/v/jpeg-encoder.svg)](https://crates.io/crates/jpeg-encoder/)\n[![Rust](https://github.com/vstroebel/jpeg-encoder/actions/workflows/rust.yml/badge.svg)](https://github.com/vstroebel/jpeg-encoder/actions/workflows/rust.yml)\n\nA JPEG encoder written in Rust featuring:\n\n- Baseline and progressive compression\n- Chroma subsampling\n- Optimized huffman tables\n- 1, 3 and 4 component colorspaces\n- Restart interval\n- Custom quantization tables\n- AVX2 based optimizations (Optional)\n- Support for no_std + alloc\n- No `unsafe` by default (Enabling the `simd` feature adds unsafe code)\n\n## Example\n```rust\nuse jpeg_encoder::{Encoder, ColorType};\n\n// An array with 4 pixels in RGB format.\nlet data = [\n    255, 0, 0,\n    0, 255, 0,\n    0, 0, 255,\n    255, 255, 255,\n];\n\n// Create new encoder that writes to a file with maximum quality (100)\nlet mut encoder = Encoder::new_file(\"some.jpeg\", 100)?;\n\n// Encode the data with dimension 2x2\nencoder.encode(\u0026data, 2, 2, ColorType::Rgb)?;\n```\n\n## Crate features\n- `std` (default): Enables functionality dependent on the std lib\n- `simd`: Enables SIMD optimizations (implies `std` and only AVX2 as for now)\n\n## Minimum Supported Version of Rust (MSRV)\n\nThis crate needs at least 1.87 or higher.\n\n## License\n\nThis project is licensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted \nfor inclusion in jpeg-encoder by you, as defined in the Apache-2.0 license, \nshall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvstroebel%2Fjpeg-encoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvstroebel%2Fjpeg-encoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvstroebel%2Fjpeg-encoder/lists"}