Difference between revisions of "Pngcrush or optipng or advancecomp"

From Notes_Wiki
(Created page with "We can compress png images (especially the once created by using colored scanner) using '<tt>pngcrush</tt>', '<tt>optipng</tt>' or '<tt>advancecomp</tt>' tools. =pngcrush= ...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Image processing tools]] > [[Pngcrush or optipng or advancecomp]]
We can compress png images (especially the once created by using colored scanner) using '<tt>pngcrush</tt>', '<tt>optipng</tt>' or '<tt>advancecomp</tt>' tools.  
We can compress png images (especially the once created by using colored scanner) using '<tt>pngcrush</tt>', '<tt>optipng</tt>' or '<tt>advancecomp</tt>' tools.  


Line 31: Line 33:


<tt>advancecomp</tt> also seems to give best compression and response time in comparison to others.
<tt>advancecomp</tt> also seems to give best compression and response time in comparison to others.
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Image processing tools]] > [[Pngcrush or optipng or advancecomp]]

Latest revision as of 15:17, 24 August 2022

Home > CentOS > CentOS 6.x > Image processing tools > Pngcrush or optipng or advancecomp

We can compress png images (especially the once created by using colored scanner) using 'pngcrush', 'optipng' or 'advancecomp' tools.

pngcrush

pngcrush can be used as follows:

mkdir output
pngcrush -d output -brute -l 9 -v file1.png file2.png ... filen.png


optipng

optipng can be used as follows:

mkdir output
cp file1.png file2.png ... filen.png output
cd output
optipng -o7 *


advancecomp

advancecomp can be used in following manner:

advpng -z4 file1.png

advancecomp also seems to give best compression and response time in comparison to others.


Home > CentOS > CentOS 6.x > Image processing tools > Pngcrush or optipng or advancecomp