pingo optimizer

pingo, a fast image optimizer

pingo is an experimental, fast Web PNG/JPG optimizer which offer lossless, web lossless or lossy compression. it performs image reductions over iterations thanks to recursive multi-processing and multithreading systems

overview

auto optimizer for Web convert PNG or JPG to sRGB
do image compression automatically supports CMYK JPG — iCCP/ICC color or gray
auto JPG image rotation APNG optimization
auto rotation according to the orientation tag optimize animated PNG losslessly or lossy
image transformations clean all private data
PNG <-> JPG, grayscale, scaling, no trans remove private or useless data from images

about

highly optimized speed — compression multiprocessing — multithreading
palette sorting, advanced filters, SIMD opt. process multiple files and multiblocks comp.
multiple adaptive lossy targets high quality
set lossy filtering, quantization or paletted detect JPG quality, no color differences
management of some corrupted files
try to handle corrupted files automatically

manual v0.98

important

always do backup before using pingo. try on test files/folders especially made for this. understand that this tool is processing all files in subfolders. it could convert/reduce the visual quality of your files and overwrite them without any backup or warning

see some examples for pingo usage

-auto				optimize image for web (default)
-auto=N				[1-100] set the PNG and JPG quality in auto
-s0 to -s9			web lossless optimization | compression level
-pngquality=N		[1-100] set PNG quality and select lossy type
-jpgquality=N		[1-100] set JPG quality

PNG:
-pngfilter=N			[1-100] force PNG lossy filtering
-pngpalette=N		[1-100] force color quantization (palette)
-pngcolor=N			[1-100] force color quantization (simple)
-pngrgb=N			[1-100] force color quantization (RGB)
-pngstrip=N			[0-3] remove non-critical PNG chunks
-pngconvert=N		[0-12] convert JPG to PNG using a filter

JPG:
-jpgsample=N		[0-2] set JPG subsampling
-jpgtable=N			[0-5] set JPG quantization table
-jpgfilter=N			[0-10] enhance details and auto-quality
-jpgstrip=N			remove non-critical JPG segments
-jpgscale			auto-scaling for web usage
-jpgconvert			convert PNG to JPG

image:
-grayscale			convert image data to gray level
-srgb				force image data to sRGB
-srgb=N				[0-3] control the conversion to sRGB
-notrans				convert RGB data to remove transparency
-rgb: N N N			[0-255] set background color in red, green and bl

trials:
-compress			compress the IDAT chunk
-uncompress			uncompress the IDAT chunk
-fast				remove chunks or segments from PNG and JPG
-reset				default specs and uncompressed/non-filtered IDAT
-text				text-image (scans) from JPG to PNG
-trials=N				[0-3] set levels in trials (default: 2)
-sa					set -trials=N and adaptive compression

controls (1):
-strip=N				[0-3] remove PNG/JPG chunks/segments
-lossless			combine all lossless options
-multiblocks=N		set the number of threads (default: 4)
-multiprocess=N		[0-1] enable or disable the multiprocessing
-low					disable multiblocks/multiprocessing
-quiet				quiet mode, no verbose
-verbose=N			[0-3] set the verbose level

controls (2):
-nocompression		keep image data uncompressed for output
-noalpha			keep all RGB values, even if alpha is 0
-noapng				disable APNG processing
-nocheck			disable checking in auto
-noconversion		do not convert PNG to JPG in auto
-nodate				keep the modification date
-nodithering			disable the dithering in lossy modes
-noext				do not change file extension
-nojpg				disable JPG processing
-nojpgsrgb			avoid sRGB conversion for JPG
-nojpgstrip			do not remove JPG markers
-nopng				disable PNG processing
-nopngsrgb			avoid sRGB conversion for PNG
-nopngstrip			do not remove PNG chunks
-norotation			ignore JPG orientation tag
-nosrgb				avoid sRGB conversion for PNG and JPG
-nostrip				do not remove PNG/JPG chunks/markers
-notrials				disable any trials, just recompress