Mailinglist Archive: opensuse (958 mails)

< Previous Next >
Re: [opensuse] Re: pngquant - PNG compressor

On Fri, 03 May 2019, David C. Rankin wrote:
On 05/03/2019 03:46 PM, L A Walsh wrote:
Did your comparison also include optipng?

OptiPNG is a PNG optimizer that recompresses image files to a smaller
size, without losing any information. This program also converts
external formats (BMP, GIF, PNM; TIFF support is coming up) to
optimized PNG, and performs PNG integrity checks and corrections.
Distribution: openSUSE Tumbleweed

Oooh nice. Will have to add that to the toolbox.

There are also pngcrush, pngnq and pngrewrite.

$ du -b * | sort -n
5763 test-1-4color_graph_pngnq.png
5946 test-1-4color_graph_pngquant-fs8.png
8779 test-1-4color_graph_pngcrush.png
8844 test-1-4color_graph_optipng.png
9898 test-1-4color_graph_orig.png
118322 test-2-24bit_photo_pngquant-fs8.png
118485 test-2-24bit_photo_pngnq.png
249996 test-2-24bit_photo_pngcrush.png
252387 test-2-24bit_photo_optipng.png
268305 test-2-24bit_photo_orig.png

the first file is a simple pie-chart w/4 colors, the second some photo
of lion cubs in the grass ;)

test-1-4color_graph_orig.png: PNG image data, 359 x 355, 8-bit/color RGB[..]
test-2-24bit_photo_orig.png: PNG image data, 638 x 223, 8-bit/color RGB[..]

Both pngnq and pngquant produce 8-bit colormapped output, the rest
stays 8-bit RGB.


All generalisations are dangerous, including this one.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups