image optimizer for web

Standalone version for lossless optimization

test said, on 24/02/2023
If preferable, I think it's time to distribute lossless optimization only binaries, for those that don't need lossy optimizations, and for those who don't have enough knowledge on the image file formats, so as not to make mistakes about it.
https://files.yande.re/image/bc2159f4ecfce08fbb681480f84e54d7.jpg pingo.exe -sb -strip *.jpg *.png
lossless said, on 24/02/2023
pingo -s9 -jpgtype=2 -s0

This will only do lossless at the highest compression level.
Alex said, on 25/02/2023
These are the commands I use for lossless PNG and JPEG optimization with Pingo.

PNG: pingo -s9 -no-16bit *.png
 * If you want to strip extra metadata, add -strip to your settings.
 * If you want to use brute force optimization, use -sa or -sb instead of -s9.

Pingo only supports optimization of 8-bit PNG files. For 16-bit files, it'll convert them down to 8-bit, which I consider lossy as visual information is being lost. Using the -no-16bit setting skips any 16-bit files.

JPEG: pingo -s0 -jpgtype=2 *.jpg
 * If you want to strip extra metadata, add -strip to your settings.

There's no reason to specify higher -sN values for JPEG optimization. It doesn't make any difference.
Using -strip may break special color information in JPEG files (CMYK, embedded ICC profiles).
Using -jpgtype=0 to force baseline compression may optimize smaller files better.

Hope this clears up any confusion :)
lossless said, on 25/02/2023
Can pingo skip any PNG file that isn't 8 bit? I've 32 bit PNG files. 
Alex said, on 27/02/2023
Further clarification,

When using Pingo's lossless mode on PNG files, it usually doesn't change the bits per sample number unless it improves compression. For PNG files that are 16-bit per sample, Pingo will default to reducing them down to 8-bit per sample. I don't consider this to be lossless, as some visual information is lost which cannot be recovered.

Pingo can skip 16-bit per sample PNG files by using the -no-16bit setting. There are no options to skip 1, 2 and 4-bit per sample files at the moment.
lossless said, on 28/02/2023
Prior to reading your first post, I'd believed Pingo was doing lossless compression because that's what it says on the website and in the program's help menu.

I feel duped :/

Alex said, on 02/03/2023
When using the command below, Pingo's PNG file optimization should be completely lossless. Please keep in mind that Pingo is currently considered alpha/beta software and may have bugs.

Command: pingo -s9 -no-16bit *.png

When I return home, I will provide you with a command you can use to compare the visual differences between two PNG files using ImageMagick.
lossless said, on 03/03/2023
How does Pingo confirm if the compressed picture is still lossless? There are so many different types of PNG files that it's bound to compress it lossy.
Jonathan said, on 10/03/2023
Dude u have no way to report bugs for Pinga, and it dont use command line. so it wont let me leave a bug report or comment or anything. so im forced to comment under the few people that were able to figure it out. im a windows 10 user!

Just asking if you can bring back the slider version in Pinga. 
I find that is easier to use, and I can adjust faster and see whats going on, the new version is very confusing to have the slider berried behind a settings button. 

https://imgur.com/a/0BTv5zb    < old version 
cédric (dev) said, on 19/07/2023
v1.x use -lossless flag

reply