Advertisement
Compress PNG Files With PNGCrush
-
The size to which the PNG image above was compressed may not seem like much, but the original image was already compressed. Besides, if you own a website, compressing ALL the images will most definitely make a difference, especially since – as you can see in the picture above – the quality is basically the same to the naked eye.The tool I used is called Pngcrush, a free and open source optimizer for PNG (Portable Network Graphics) files. It can be run from a commandline in an MSDOS window, or from a UNIX or LINUX commandline. Its main purpose is to reduce the size of the PNG IDAT datastream by trying various compression levels an PNG filter methods. It also can be used to remove unwanted ancillary chunks, or to add certain chunks including gAMA, tRNS, iCCP, and textual chunks.
If you use Linux, Pngcrush should be in your Linux distribution repositories. For Ubuntu, use the following command to install it:sudo apt-get install pngcrushUsing Pngcrush
Pngcrush can use 114 different filters for optimizing PNG images. To let Pngcrush choose the best one for your images, you can use the -brute option.To compress a single image:
pngcrush -brute -e ".compressed.png" image.png“-e” tells Pngcrush to append the “.compressed.png” name to the initial image name.
To compress all the PNG files in a folder and replace the initial images with the resulted compressed images (that’s what the “-d” option does):
pngcrush -brute -d "/my/images" *.pngTo see everything that Pngcrush can do, type (in Linux):
pngcrush --helpor:man pngcrushDownload PNGCrush for Windows and source files. | via: simplehelp
© www.webupd8.org 2009. | What’s New on the World Wide Web
Bookmark : del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Netscape | Yahoo | BlinkList | InfoGue | LintasBeritaPopularity: 1% [?]
Random Posts
Advertisement
Leave a Comment
Subscribe
Ads
Hosting?
Recent Articles
- Mempercepat Akses Internet dengan Namebench
- How to Securing PostfixAdmin
- Sourceforge Akhirnya Mematikan Blokade Akses dari Iran, Korea, Cuba dll
- Archos merilis distro linux full untuk Android tablet
- Jailbreaking iPhone 3.1.3 IPSW with PwnageTool 3.1.5
- The new LTSP-Cluster website’s officially out
- BIOS flashing for Linux
- Redirect RSS blog ke Feedburner dengan htaccess
- Memisah Komentar dan Trackback pada Wordpress
- Membalik urutan Komentar Wordpress
- Menambahkan fungsi ‘del’ dan ’spam’ pada Komentar Wordpress
- [Download and Test] Mandriva Linux 2010.1 Alpha 2
- [Free] OpenSUSE 11.3 Milestone 1
- Free Download Linux Geometry Software
- 10 Kernel Vulnerabilities in Ubuntu
Counter
Most Popular Posts
- Cara melacak No HP Orang Nih
- Install Windows XP lewat USB Flash Disk
- Mengintip Password WiFi/Hotspot
- Things To Fix / Tweak After Installing Ubuntu 9.10 Karmic Koala
- Customizing GRUB2 [ Ubuntu / Linux ]
- Mengembalikan file yang hilang di Memory Card
- Time Travel, Mesin Waktu dan Rumor John Titor
- Software Aktivasi Windows 7 dan Windows Vista
- Download
- Masalah setelah Install Windows XP via USB






