jpegoptim
« Back to VersTracker
Description:
Utility to optimize JPEG files
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: jpeg image-optimization compression cli multimedia
Install: brew install jpegoptim
About:
Jpegoptim is a command-line utility designed to compress and optimize JPEG image files without losing visual quality. It works by recompressing images and removing unnecessary metadata like thumbnails and comments. This results in significantly smaller file sizes, which is crucial for improving website load times and saving storage space.
Key Features:
  • Lossless optimization by recompressing to the optimal Huffman table
  • Option to strip all non-essential metadata (EXIF, IPTC, etc.)
  • Ability to set target file size for compression
  • Can process files in-place or create backups
Use Cases:
  • Optimizing images for web deployment to improve page speed
  • Reducing storage footprint for large photo collections
  • Batch processing of JPEG files from the command line
Alternatives:
  • jpegtran – jpegtran performs lossless transformations and optimization but lacks the size-targeting features of jpegoptim.
  • ImageMagick – A powerful, general-purpose image suite that can also convert and resize, but is heavier and less specialized for pure JPEG optimization.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 2:04pm 0 VERSION_BUMP 0096f14b