Jump to content

User talk:Eliashc/optiPNG

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Hello Drat,

you've optimized Image:Sopwith-screenshot.png in the past. Whenever you optimize images you should use the -o7 parameter for the best results - that way the size of the file could be reduced even further (by 25.23%). Be also sure to use the lastest version, available from here.

Output:

optipng -o7 Sopwith-screenshot.png
OptiPNG 0.5.2: Advanced PNG optimizer.
Copyright (C) 2001-2006 Cosmin Truta.

** Processing Sopwith-screenshot.png
639x400 8-bit palette non-interlaced
The image is losslessly reduced to 2-bit palette
Input file size = 1173 bytes
Input IDAT size = 1039 bytes
Trying...
  zc = 9  zm = 9  zs = 0  f = 0         IDAT size = 747
  zc = 9  zm = 8  zs = 0  f = 0         IDAT size = 747
  zc = 8  zm = 9  zs = 0  f = 0         IDAT too big
  zc = 8  zm = 8  zs = 0  f = 0         IDAT too big
  zc = 7  zm = 9  zs = 0  f = 0         IDAT too big
  zc = 7  zm = 8  zs = 0  f = 0         IDAT too big
  zc = 6  zm = 9  zs = 0  f = 0         IDAT too big
  zc = 6  zm = 8  zs = 0  f = 0         IDAT too big
  zc = 5  zm = 9  zs = 0  f = 0         IDAT too big
  zc = 5  zm = 8  zs = 0  f = 0         IDAT too big
  zc = 4  zm = 9  zs = 0  f = 0         IDAT too big
  zc = 4  zm = 8  zs = 0  f = 0         IDAT too big
  zc = 3  zm = 9  zs = 0  f = 0         IDAT too big
  zc = 3  zm = 8  zs = 0  f = 0         IDAT too big
  zc = 2  zm = 9  zs = 0  f = 0         IDAT too big
  zc = 2  zm = 8  zs = 0  f = 0         IDAT too big
  zc = 1  zm = 9  zs = 0  f = 0         IDAT too big
  zc = 1  zm = 8  zs = 0  f = 0         IDAT too big
  zc = 9  zm = 9  zs = 1  f = 0         IDAT size = 745
  zc = 9  zm = 8  zs = 1  f = 0         IDAT size = 743
  zc = 8  zm = 9  zs = 1  f = 0         IDAT too big
  zc = 8  zm = 8  zs = 1  f = 0         IDAT too big
  zc = 7  zm = 9  zs = 1  f = 0         IDAT too big
  zc = 7  zm = 8  zs = 1  f = 0         IDAT too big
  zc = 6  zm = 9  zs = 1  f = 0         IDAT too big
  zc = 6  zm = 8  zs = 1  f = 0         IDAT too big
  zc = 5  zm = 9  zs = 1  f = 0         IDAT too big
  zc = 5  zm = 8  zs = 1  f = 0         IDAT too big
  zc = 4  zm = 9  zs = 1  f = 0         IDAT too big
  zc = 4  zm = 8  zs = 1  f = 0         IDAT too big
  zc = 3  zm = 9  zs = 1  f = 0         IDAT too big
  zc = 3  zm = 8  zs = 1  f = 0         IDAT too big
  zc = 2  zm = 9  zs = 1  f = 0         IDAT too big
  zc = 2  zm = 8  zs = 1  f = 0         IDAT too big
  zc = 1  zm = 9  zs = 1  f = 0         IDAT too big
  zc = 1  zm = 8  zs = 1  f = 0         IDAT too big
  zc = 1  zm = 9  zs = 2  f = 0         IDAT too big
  zc = 1  zm = 8  zs = 2  f = 0         IDAT too big
  zc = 9  zm = 9  zs = 3  f = 0         IDAT too big
  zc = 9  zm = 8  zs = 3  f = 0         IDAT too big
  zc = 9  zm = 9  zs = 0  f = 1         IDAT too big
  zc = 9  zm = 8  zs = 0  f = 1         IDAT too big
  zc = 8  zm = 9  zs = 0  f = 1         IDAT too big
  zc = 8  zm = 8  zs = 0  f = 1         IDAT too big
  zc = 7  zm = 9  zs = 0  f = 1         IDAT too big
  zc = 7  zm = 8  zs = 0  f = 1         IDAT too big
  zc = 6  zm = 9  zs = 0  f = 1         IDAT too big
  zc = 6  zm = 8  zs = 0  f = 1         IDAT too big
  zc = 5  zm = 9  zs = 0  f = 1         IDAT too big
  zc = 5  zm = 8  zs = 0  f = 1         IDAT too big
  zc = 4  zm = 9  zs = 0  f = 1         IDAT too big
  zc = 4  zm = 8  zs = 0  f = 1         IDAT too big
  zc = 3  zm = 9  zs = 0  f = 1         IDAT too big
  zc = 3  zm = 8  zs = 0  f = 1         IDAT too big
  zc = 2  zm = 9  zs = 0  f = 1         IDAT too big
  zc = 2  zm = 8  zs = 0  f = 1         IDAT too big
  zc = 1  zm = 9  zs = 0  f = 1         IDAT too big
  zc = 1  zm = 8  zs = 0  f = 1         IDAT too big
  zc = 9  zm = 9  zs = 1  f = 1         IDAT too big
  zc = 9  zm = 8  zs = 1  f = 1         IDAT too big
  zc = 8  zm = 9  zs = 1  f = 1         IDAT too big
  zc = 8  zm = 8  zs = 1  f = 1         IDAT too big
  zc = 7  zm = 9  zs = 1  f = 1         IDAT too big
  zc = 7  zm = 8  zs = 1  f = 1         IDAT too big
  zc = 6  zm = 9  zs = 1  f = 1         IDAT too big
  zc = 6  zm = 8  zs = 1  f = 1         IDAT too big
  zc = 5  zm = 9  zs = 1  f = 1         IDAT too big
  zc = 5  zm = 8  zs = 1  f = 1         IDAT too big
  zc = 4  zm = 9  zs = 1  f = 1         IDAT too big
  zc = 4  zm = 8  zs = 1  f = 1         IDAT too big
  zc = 3  zm = 9  zs = 1  f = 1         IDAT too big
  zc = 3  zm = 8  zs = 1  f = 1         IDAT too big
  zc = 2  zm = 9  zs = 1  f = 1         IDAT too big
  zc = 2  zm = 8  zs = 1  f = 1         IDAT too big
  zc = 1  zm = 9  zs = 1  f = 1         IDAT too big
  zc = 1  zm = 8  zs = 1  f = 1         IDAT too big
  zc = 1  zm = 9  zs = 2  f = 1         IDAT too big
  zc = 1  zm = 8  zs = 2  f = 1         IDAT too big
  zc = 9  zm = 9  zs = 3  f = 1         IDAT too big
  zc = 9  zm = 8  zs = 3  f = 1         IDAT too big
  zc = 9  zm = 9  zs = 0  f = 2         IDAT too big
  zc = 9  zm = 8  zs = 0  f = 2         IDAT too big
  zc = 8  zm = 9  zs = 0  f = 2         IDAT too big
  zc = 8  zm = 8  zs = 0  f = 2         IDAT too big
  zc = 7  zm = 9  zs = 0  f = 2         IDAT too big
  zc = 7  zm = 8  zs = 0  f = 2         IDAT too big
  zc = 6  zm = 9  zs = 0  f = 2         IDAT too big
  zc = 6  zm = 8  zs = 0  f = 2         IDAT too big
  zc = 5  zm = 9  zs = 0  f = 2         IDAT too big
  zc = 5  zm = 8  zs = 0  f = 2         IDAT too big
  zc = 4  zm = 9  zs = 0  f = 2         IDAT too big
  zc = 4  zm = 8  zs = 0  f = 2         IDAT too big
  zc = 3  zm = 9  zs = 0  f = 2         IDAT too big
  zc = 3  zm = 8  zs = 0  f = 2         IDAT too big
  zc = 2  zm = 9  zs = 0  f = 2         IDAT too big
  zc = 2  zm = 8  zs = 0  f = 2         IDAT too big
  zc = 1  zm = 9  zs = 0  f = 2         IDAT too big
  zc = 1  zm = 8  zs = 0  f = 2         IDAT too big
  zc = 9  zm = 9  zs = 1  f = 2         IDAT too big
  zc = 9  zm = 8  zs = 1  f = 2         IDAT too big
  zc = 8  zm = 9  zs = 1  f = 2         IDAT too big
  zc = 8  zm = 8  zs = 1  f = 2         IDAT too big
  zc = 7  zm = 9  zs = 1  f = 2         IDAT too big
  zc = 7  zm = 8  zs = 1  f = 2         IDAT too big
  zc = 6  zm = 9  zs = 1  f = 2         IDAT too big
  zc = 6  zm = 8  zs = 1  f = 2         IDAT too big
  zc = 5  zm = 9  zs = 1  f = 2         IDAT too big
  zc = 5  zm = 8  zs = 1  f = 2         IDAT too big
  zc = 4  zm = 9  zs = 1  f = 2         IDAT too big
  zc = 4  zm = 8  zs = 1  f = 2         IDAT too big
  zc = 3  zm = 9  zs = 1  f = 2         IDAT too big
  zc = 3  zm = 8  zs = 1  f = 2         IDAT too big
  zc = 2  zm = 9  zs = 1  f = 2         IDAT too big
  zc = 2  zm = 8  zs = 1  f = 2         IDAT too big
  zc = 1  zm = 9  zs = 1  f = 2         IDAT too big
  zc = 1  zm = 8  zs = 1  f = 2         IDAT too big
  zc = 1  zm = 9  zs = 2  f = 2         IDAT too big
  zc = 1  zm = 8  zs = 2  f = 2         IDAT too big
  zc = 9  zm = 9  zs = 3  f = 2         IDAT too big
  zc = 9  zm = 8  zs = 3  f = 2         IDAT too big
  zc = 9  zm = 9  zs = 0  f = 3         IDAT too big
  zc = 9  zm = 8  zs = 0  f = 3         IDAT too big
  zc = 8  zm = 9  zs = 0  f = 3         IDAT too big
  zc = 8  zm = 8  zs = 0  f = 3         IDAT too big
  zc = 7  zm = 9  zs = 0  f = 3         IDAT too big
  zc = 7  zm = 8  zs = 0  f = 3         IDAT too big
  zc = 6  zm = 9  zs = 0  f = 3         IDAT too big
  zc = 6  zm = 8  zs = 0  f = 3         IDAT too big
  zc = 5  zm = 9  zs = 0  f = 3         IDAT too big
  zc = 5  zm = 8  zs = 0  f = 3         IDAT too big
  zc = 4  zm = 9  zs = 0  f = 3         IDAT too big
  zc = 4  zm = 8  zs = 0  f = 3         IDAT too big
  zc = 3  zm = 9  zs = 0  f = 3         IDAT too big
  zc = 3  zm = 8  zs = 0  f = 3         IDAT too big
  zc = 2  zm = 9  zs = 0  f = 3         IDAT too big
  zc = 2  zm = 8  zs = 0  f = 3         IDAT too big
  zc = 1  zm = 9  zs = 0  f = 3         IDAT too big
  zc = 1  zm = 8  zs = 0  f = 3         IDAT too big
  zc = 9  zm = 9  zs = 1  f = 3         IDAT too big
  zc = 9  zm = 8  zs = 1  f = 3         IDAT too big
  zc = 8  zm = 9  zs = 1  f = 3         IDAT too big
  zc = 8  zm = 8  zs = 1  f = 3         IDAT too big
  zc = 7  zm = 9  zs = 1  f = 3         IDAT too big
  zc = 7  zm = 8  zs = 1  f = 3         IDAT too big
  zc = 6  zm = 9  zs = 1  f = 3         IDAT too big
  zc = 6  zm = 8  zs = 1  f = 3         IDAT too big
  zc = 5  zm = 9  zs = 1  f = 3         IDAT too big
  zc = 5  zm = 8  zs = 1  f = 3         IDAT too big
  zc = 4  zm = 9  zs = 1  f = 3         IDAT too big
  zc = 4  zm = 8  zs = 1  f = 3         IDAT too big
  zc = 3  zm = 9  zs = 1  f = 3         IDAT too big
  zc = 3  zm = 8  zs = 1  f = 3         IDAT too big
  zc = 2  zm = 9  zs = 1  f = 3         IDAT too big
  zc = 2  zm = 8  zs = 1  f = 3         IDAT too big
  zc = 1  zm = 9  zs = 1  f = 3         IDAT too big
  zc = 1  zm = 8  zs = 1  f = 3         IDAT too big
  zc = 1  zm = 9  zs = 2  f = 3         IDAT too big
  zc = 1  zm = 8  zs = 2  f = 3         IDAT too big
  zc = 9  zm = 9  zs = 3  f = 3         IDAT too big
  zc = 9  zm = 8  zs = 3  f = 3         IDAT too big
  zc = 9  zm = 9  zs = 0  f = 4         IDAT too big
  zc = 9  zm = 8  zs = 0  f = 4         IDAT too big
  zc = 8  zm = 9  zs = 0  f = 4         IDAT too big
  zc = 8  zm = 8  zs = 0  f = 4         IDAT too big
  zc = 7  zm = 9  zs = 0  f = 4         IDAT too big
  zc = 7  zm = 8  zs = 0  f = 4         IDAT too big
  zc = 6  zm = 9  zs = 0  f = 4         IDAT too big
  zc = 6  zm = 8  zs = 0  f = 4         IDAT too big
  zc = 5  zm = 9  zs = 0  f = 4         IDAT too big
  zc = 5  zm = 8  zs = 0  f = 4         IDAT too big
  zc = 4  zm = 9  zs = 0  f = 4         IDAT too big
  zc = 4  zm = 8  zs = 0  f = 4         IDAT too big
  zc = 3  zm = 9  zs = 0  f = 4         IDAT too big
  zc = 3  zm = 8  zs = 0  f = 4         IDAT too big
  zc = 2  zm = 9  zs = 0  f = 4         IDAT too big
  zc = 2  zm = 8  zs = 0  f = 4         IDAT too big
  zc = 1  zm = 9  zs = 0  f = 4         IDAT too big
  zc = 1  zm = 8  zs = 0  f = 4         IDAT too big
  zc = 9  zm = 9  zs = 1  f = 4         IDAT too big
  zc = 9  zm = 8  zs = 1  f = 4         IDAT too big
  zc = 8  zm = 9  zs = 1  f = 4         IDAT too big
  zc = 8  zm = 8  zs = 1  f = 4         IDAT too big
  zc = 7  zm = 9  zs = 1  f = 4         IDAT too big
  zc = 7  zm = 8  zs = 1  f = 4         IDAT too big
  zc = 6  zm = 9  zs = 1  f = 4         IDAT too big
  zc = 6  zm = 8  zs = 1  f = 4         IDAT too big
  zc = 5  zm = 9  zs = 1  f = 4         IDAT too big
  zc = 5  zm = 8  zs = 1  f = 4         IDAT too big
  zc = 4  zm = 9  zs = 1  f = 4         IDAT too big
  zc = 4  zm = 8  zs = 1  f = 4         IDAT too big
  zc = 3  zm = 9  zs = 1  f = 4         IDAT too big
  zc = 3  zm = 8  zs = 1  f = 4         IDAT too big
  zc = 2  zm = 9  zs = 1  f = 4         IDAT too big
  zc = 2  zm = 8  zs = 1  f = 4         IDAT too big
  zc = 1  zm = 9  zs = 1  f = 4         IDAT too big
  zc = 1  zm = 8  zs = 1  f = 4         IDAT too big
  zc = 1  zm = 9  zs = 2  f = 4         IDAT too big
  zc = 1  zm = 8  zs = 2  f = 4         IDAT too big
  zc = 9  zm = 9  zs = 3  f = 4         IDAT too big
  zc = 9  zm = 8  zs = 3  f = 4         IDAT too big
  zc = 9  zm = 9  zs = 0  f = 5         IDAT too big
  zc = 9  zm = 8  zs = 0  f = 5         IDAT too big
  zc = 8  zm = 9  zs = 0  f = 5         IDAT too big
  zc = 8  zm = 8  zs = 0  f = 5         IDAT too big
  zc = 7  zm = 9  zs = 0  f = 5         IDAT too big
  zc = 7  zm = 8  zs = 0  f = 5         IDAT too big
  zc = 6  zm = 9  zs = 0  f = 5         IDAT too big
  zc = 6  zm = 8  zs = 0  f = 5         IDAT too big
  zc = 5  zm = 9  zs = 0  f = 5         IDAT too big
  zc = 5  zm = 8  zs = 0  f = 5         IDAT too big
  zc = 4  zm = 9  zs = 0  f = 5         IDAT too big
  zc = 4  zm = 8  zs = 0  f = 5         IDAT too big
  zc = 3  zm = 9  zs = 0  f = 5         IDAT too big
  zc = 3  zm = 8  zs = 0  f = 5         IDAT too big
  zc = 2  zm = 9  zs = 0  f = 5         IDAT too big
  zc = 2  zm = 8  zs = 0  f = 5         IDAT too big
  zc = 1  zm = 9  zs = 0  f = 5         IDAT too big
  zc = 1  zm = 8  zs = 0  f = 5         IDAT too big
  zc = 9  zm = 9  zs = 1  f = 5         IDAT too big
  zc = 9  zm = 8  zs = 1  f = 5         IDAT too big
  zc = 8  zm = 9  zs = 1  f = 5         IDAT too big
  zc = 8  zm = 8  zs = 1  f = 5         IDAT too big
  zc = 7  zm = 9  zs = 1  f = 5         IDAT too big
  zc = 7  zm = 8  zs = 1  f = 5         IDAT too big
  zc = 6  zm = 9  zs = 1  f = 5         IDAT too big
  zc = 6  zm = 8  zs = 1  f = 5         IDAT too big
  zc = 5  zm = 9  zs = 1  f = 5         IDAT too big
  zc = 5  zm = 8  zs = 1  f = 5         IDAT too big
  zc = 4  zm = 9  zs = 1  f = 5         IDAT too big
  zc = 4  zm = 8  zs = 1  f = 5         IDAT too big
  zc = 3  zm = 9  zs = 1  f = 5         IDAT too big
  zc = 3  zm = 8  zs = 1  f = 5         IDAT too big
  zc = 2  zm = 9  zs = 1  f = 5         IDAT too big
  zc = 2  zm = 8  zs = 1  f = 5         IDAT too big
  zc = 1  zm = 9  zs = 1  f = 5         IDAT too big
  zc = 1  zm = 8  zs = 1  f = 5         IDAT too big
  zc = 1  zm = 9  zs = 2  f = 5         IDAT too big
  zc = 1  zm = 8  zs = 2  f = 5         IDAT too big
  zc = 9  zm = 9  zs = 3  f = 5         IDAT too big
  zc = 9  zm = 8  zs = 3  f = 5         IDAT too big

The best parameters are:
  zc = 9  zm = 8  zs = 1  f = 0         IDAT size = 743

New file size = 877 bytes (296 bytes = 25.23% decrease)
New IDAT size = 743 bytes (296 bytes decrease)

--elias.hc 13:43, 25 May 2006 (UTC)[reply]

Actually, I do use the -o7 parameter. But thanks for the heads-up regarding the latest version! By the way, for convenience, I use a batchfile that makes a copy of a file with the file extension ".pngo", which is associated with another batchfile that runs the image through OptiPNG. Saves a lot of time through lessened fiddling around, and retains the original.--Drat (Talk) 13:55, 25 May 2006 (UTC)[reply]
Why don't you use the -k parameter instead? (a .png.bak backup and an optimized .png file are the result) --elias.hc 14:13, 25 May 2006 (UTC)[reply]
I'll try that. I'm sure there was a good reason I didn't before, but I can't recall it at the moment.--Drat (Talk) 14:18, 25 May 2006 (UTC)[reply]