optipng
« Back to VersTracker
Description:
PNG file optimizer
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: png optimizer compression images graphics
Install: brew install optipng
About:
OptiPNG is a command-line utility that optimizes PNG (Portable Network Graphics) images by recompressing them without losing any visual information. It performs exhaustive compression trials to find the smallest possible file size while maintaining image integrity. This tool is essential for web developers and designers looking to reduce bandwidth usage and improve page load times.
Key Features:
  • Lossless compression: Reduces file size without degrading image quality.
  • Advanced algorithms: Utilizes Zlib, PNGOUT, and other internal strategies for optimization.
  • Recursive scanning: Can process entire directory trees of images.
  • Bit-depth reduction: Converts images to lower bit depths when safe to do so.
Use Cases:
  • Optimizing assets for websites and mobile applications to improve performance.
  • Batch processing large libraries of screenshots or graphics for storage efficiency.
Alternatives:
  • pngquant – pngquant performs lossy compression, offering much smaller file sizes at the cost of some visual quality, whereas OptiPNG is strictly lossless.
  • jpegoptim – jpegoptim is the equivalent optimizer for JPEG files, while OptiPNG is specialized for the PNG format.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 9:28am 0 VERSION_BUMP 38468ed8