Comparison of various compression software:
http://jamiemason.github.io/ImageOptim-CLI/comparison/png/photoshop/desc/
The compression rate is Imagealpha lossy compression plus Imageoptim lossless compression, the two need to order,
In case of trouble, a small number of images can also be used online tools: tinypng
This tool has an API, but there are restrictions, each key 300 times a month, and more will be charged
Imageoptim
Go to official website
Lossless compression, GUI + command line (GUI software also available)
With this tool, you need to turn off the image compression feature of Xcode, otherwise Xcode will compress the image and add
Xcode settings See tutorials
Command line:https://imageoptim.com/command-line.html
Include
- PNGOut
- Zopfli,
- Pngcrush,
- Advpng,
- OptiPNG,
- Jpegoptim,
- Jpegrescan,
- Jpegtran,
- Gifsicle.
Imagealpha
Go to official website
lossy compression, after completion, then use the above Imageoptim to re-compress the effect better
GUI + Command Line
Include
- Pngquant, see below.
- Pngnq-s9
Pngquant
Go to official website
Command line, a lot of software integration, lower level.
http://pngquant.org/
Software that integrates this command, include:
GUI
- Imagealpha, as on-mac OS X GUI for pngquant and other tools
- Superpng Photoshop Plug-in-mac and Windows. Comparison with ' Save for Web '
- Pngoo-windows GUI for batch Conversion
- Pngyu-mac OS X and Windows GUI with batch processing option
- Tinypng and Kraken.io-on-line interfaces for Pngquant
Command-Line Download link
- Binary for Mac OS X (v2.3.3)
- Binary for Windows (v2.3.1)
- Package for Debian testing Important:don ' t use version 1.0-4.1 from Debian stable! Only install the 2.0+ from "Jessie".
- Various Linux packages, RPM spec
- Latest source Code as Tarball (to build in other platforms)
Trimage
Go to official website
Cross-platform, GUI + Command Line
Trimage is a cross-platform GUI and command-line interface to optimize image files for websites, using OptiPNG, Pngcrush, Advpng and Jpegoptim, depending on the filetype (currently, PNG and JPG files is supported). It is inspired by Imageoptim. All image files were Losslessy compressed on the highest available compression levels, and EXIF and other metadata is Remov Ed. Trimage gives various input functions to fit your own workflow:a regular file dialog, dragging and dropping and V arious command line Options.
include:
- OptiPNG,
- Pngcrush,
- Advpng,
- Jpegoptim,
Kraken
https://kraken.io/
Online compression, charge, support trial
Tinypng
https://tinypng.com/
Online compression, charge, support trial
Various compression software for PNG images in iOS development, and comparison of compression ratios