macOS
brew install jpegoptimlocal Homebrew formula metadata
sudo port install jpegoptimMacPorts ports tree · graphics/jpegoptim/Portfile · source: api.github.com
brew
Utility to optimize JPEG files. Version 1.5.6 via Homebrew; verified from local package data.
install
brew install jpegoptimlocal Homebrew formula metadata
sudo port install jpegoptimMacPorts ports tree · graphics/jpegoptim/Portfile · source: api.github.com
sudo apk add jpegoptimAlpine Linux edge package indexes · jpegoptim · source: dl-cdn.alpinelinux.org
sudo apt install jpegoptimDebian stable package indexes · jpegoptim · source: deb.debian.org
sudo dnf install jpegoptimFedora Rawhide package metadata · jpegoptim · source: dl.fedoraproject.org
nix profile install nixpkgs#jpegoptimnixpkgs package indexes · pkgs/by-name/jp/jpegoptim/package.nix · source: api.github.com
sudo pacman -S jpegoptimArch Linux sync databases · jpegoptim · source: geo.mirror.pkgbuild.com
sudo zypper install jpegoptimopenSUSE Tumbleweed package metadata · jpegoptim · source: download.opensuse.org
scoop install main/jpegoptimScoop official bucket manifest trees · bucket/jpegoptim.json · source: api.github.com
winget install --id TimoKokkonen.Jpegoptim -eWindows Package Manager source index · TimoKokkonen.Jpegoptim · source: cdn.winget.microsoft.com
overview
Utility to optimize JPEG files
history
jpegoptim is Timo Kokkonen's long-running command-line optimizer for JPEG/JFIF files. It focuses on lossless Huffman-table optimization and optional lossy recompression controlled by quality or target-size flags.
The upstream README records copyright years beginning in 1996 and lists v1.0 as the first public release. The project was built around IJG libjpeg, with compatibility notes for libjpeg-turbo and mozjpeg, and it stayed close to the Unix tradition of a small binary that rewrites files in place unless directed otherwise.
The 1.2 and 1.3 series added metadata preservation and stripping controls, GNU autoconf support, progressive JPEG support, target-size compression, and better cross-platform handling. The 1.4 and 1.5 series added stdin/stdout workflows, parallel workers, safer marker handling, fuzzing integration, CI-built binaries, and options such as `--retry`, `--save-extra`, and `--auto-mode`.
jpegoptim became a standard packaging target because web developers, image pipelines, and static-site build scripts needed a scriptable way to reduce JPEG size without changing formats. Its presence across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and openSUSE reflects broad use in both Unix and cross-platform developer environments.
The tool is commonly run over directories of JPEGs to reduce file size, strip or preserve metadata, convert progressive mode, or cap quality. Because it can preserve modification times and permissions and can emit CSV progress, it fits automation as well as one-off cleanup.
jpegoptim is notable because it turns a libjpeg-compatible encoder into a packaging-era workhorse: tiny CLI surface, old-school C portability, and enough knobs for web-performance pipelines. It also shows the practical boundary between lossless JPEG optimization and deliberate lossy recompression.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jpegoptim | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/tjko/jpegoptim
install metadata
| Package key | brew:jpegoptim |
|---|---|
| Version | 1.5.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jpegoptim |
| Homepage | https://github.com/tjko/jpegoptim |
| Repository | https://github.com/tjko/jpegoptim |
| Upstream docs | https://github.com/tjko/jpegoptim#readme |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/tjko/jpegoptim/archive/refs/tags/v1.5.6.tar.gz |
| Dependencies | jpeg-turbo |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jpegoptim |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
jpegoptim 1.4.7-1
utility to optimize jpeg files
http://www.kokkonen.net/tjko/projects.html
sudo apt install jpegoptimjpegoptim
nix profile install nixpkgs#jpegoptimjpegoptim 1.4.7-1
utility to optimize jpeg files
http://www.kokkonen.net/tjko/projects.html
sudo apt install jpegoptimjpegoptim 1.5.6-r0
JPEG optimization utility
https://github.com/tjko/jpegoptim
sudo apk add jpegoptimjpegoptim-doc 1.5.6-r0
JPEG optimization utility (documentation)
https://github.com/tjko/jpegoptim
sudo apk add jpegoptim-docjpegoptim 1.5.6-2.fc44
Utility to optimize JPEG files
http://www.kokkonen.net/tjko/projects.html
sudo dnf install jpegoptimjpegoptim 1.5.6-1
Jpeg optimisation utility
https://github.com/tjko/jpegoptim
sudo pacman -S jpegoptimjpegoptim 1.5.6-1.3
Utility for Optimizing JPEG Files
https://www.kokkonen.net/tjko/projects.html
sudo zypper install jpegoptimjpegoptim
sudo port install jpegoptimmain/jpegoptim
scoop install main/jpegoptimTimoKokkonen.Jpegoptim
winget install --id TimoKokkonen.Jpegoptim -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.