# tjko/jpegoptim

jpegoptim - utility to optimize/compress JPEG files

Repository: https://github.com/tjko/jpegoptim
Canonical: https://ross.abutalabs.com/products/jpegoptim
Homepage: http://www.iki.fi/tjko/projects.html
Language: C
License: GPL-3.0
License Family: copyleft
Topics: image-optimization, libjpeg, jpegoptim, jpeg-encoder
Last push: 2026-03-01T01:15:03+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 69, release rhythm 15, longevity 100
- inputs: {"age_days": 5457, "days_push": 186, "days_rel": 352, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1809, forks 125 (observed 2026-08-28T04:05:39.368282+00:00)

## What it is
jpegoptim is a command-line utility for optimizing and compressing JPEG files, offering lossless optimization via Huffman table optimization and lossy compression via maximum quality factor settings. It supports parallel processing, stdin/stdout, and works with libjpeg, libjpeg-turbo, or mozjpeg.

## Use cases
- compress jpeg files without losing quality
- reduce image file sizes for a website
- batch optimize a folder of jpegs
- shrink photos to a target file size
- strip metadata from jpeg images
- convert jpegs to progressive encoding

## When to choose
- you need a fast, scriptable CLI for JPEG compression in build pipelines or CI
- you want lossless JPEG optimization with no re-encoding artifacts
- you need batch processing with parallel workers on Linux/macOS/Windows

## When to avoid
- you need to optimize PNG, WebP, or other non-JPEG formats
- you want a GUI image optimizer
- you need advanced image editing beyond compression

## Facets
- artifact type: cli-tool
- maturity: active
- function: image-processing, compression, cli
- domain: image-processing, files, web-development
- platform: windows, cli
- tags: jpeg, lossless-optimization, image-compression, libjpeg, mozjpeg, linux, macos

## Member repositories
- tjko/jpegoptim (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.368282+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:21:20.678407+00:00, confidence not recorded.
  - readme: https://github.com/tjko/jpegoptim (fetched 2026-08-28T04:05:39.368282+00:00, sha cee971266747)
  - homepage: http://www.iki.fi/tjko/projects.html (fetched 2026-08-29T11:00:10.625316+00:00, sha 08708142e71d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
