|
Page 1 of 1
|
[ 7 posts ] |
|
| Author |
Message |
|
_TyIzaeL_
Webmaster
Joined: Sun Dec 16, 2007 2:07 pm Posts: 5970 Location: Cincinnati, Ohio
Xfire ID: alloy45224
Steam ID: _TyIzaeL_
GFWL ID: TyIzaeL
|
 Make PNGs Smaller
This post goes over using OptiPNG and AdvanceCOMP to make PNGs smaller. This is especially useful for web designers, as well-compressed PNGs can actually be smaller than GIFs. Attachment:
File comment: MD5: 61c5f941003282181828617c29d41baa
PNG Compression Tools.7z [385.87 KiB]
Downloaded 49 times
Install both programs by running the installer inside the attached file and telling it to install to C:\Program Files\PNG Compression Tools. You will have to modify the batch files if you install to a different directory. Both of these programs are command-line utilities, meaning that they take text commands only (no point and click interfaces). However, fear not! You can save yourself the trouble of even opening a command-line window by creating shortcuts in the SendTo menu. To get to the SendTo folder in Windows XP, do the following:- Open a run window (WinKey + R).
- Type sendto and hit enter.
To get to the SendTo folder in Windows Vista, do the following:- Open a run window (WinKey + R).
- Type (or paste) %appdata%\Microsoft\Windows\SendTo and hit enter.
Once in the SendTo folder, do the following:- Right-click an empty area, an go to New > Shortcut. The New Shortcut Wizard will appear.
- In the box where you would type the location of the item, enter the location of "Re-Compress PNGS.bat" ("C:\Program Files\PNG Compression Tools\Scripts\Re-Compress PNGs.bat" if you have it installed in your Program Files directory).
- Enter a name for the new shortcut, I recommend Re-Compress PNGs.
- Create a new shortcut for "Re-Compress PNGs in Folder.bat", with the location: "C:\Program Files\PNG Compression Tools\Scripts\Re-Compress PNGs in Folder.bat". Name it Re-Compress PNGs in Folder.
To re-compress your PNG file:- Right-click the PNG file, go to Send To > Re-Compress PNGs. A command window will appear and you will see the output of OptiPNG and then AdvanceCOMP as they re-compresse each file. OptiPNG/AdvanceCOMP will not overwrite your PNG file if the output file size would be larger.
Further Information
- It is necessary to use OptiPNG first, because OptiPNG performs a more advanced re-compression of the PNG file. It applies delta filters, removes unnecessary data chunks, and reduces the bit depth if possible (without reducing quality). AdvanceCOMP uses the 7-zip DEFLATE algorithm (which is more effective than the standard one) to make the file smaller.
- OptiPNG can also be used to covert gif, bmp, pnm, and certain tiff images to png.
- OptiPNG on Wikipedia.
- AdvanceCOMP on Wikipedia.
Here is an example of the kind of compression you get using this method. The original file was 765KB.
- Compressed only with OptiPNG, it is 681KB. (10.9% savings)
- Compressed only width AdvanceCOMP, it is 739KB. (3.3% savings)
- Compressed with AdvanceCOMP then OptiPNG, it is 681KB. (10.9% savings)
- Compressed with OptiPNG then AdvanceCOMP, it is 679KB. (11.2% savings)
Bigger savings are had when the bit depth can be reduced (ex: grayscale or images with <= 256 colors). Last Updated: July 24, 2008
_________________

|
| Sun May 11, 2008 1:24 pm |
|
 |
|
Ap3
Srsly owns
Joined: Tue Dec 18, 2007 6:20 am Posts: 1429 Location: Cincinnati, Ohio
Xfire ID: izoxoiz
Steam ID: RaNaL_Ap3
|
 Re: Make PNGs Smaller
Although very interesting and useful(for others), I doubt I'll use it. But it is still awesome nonetheless. Good work
_________________
|
| Mon May 12, 2008 7:51 pm |
|
 |
|
_TyIzaeL_
Webmaster
Joined: Sun Dec 16, 2007 2:07 pm Posts: 5970 Location: Cincinnati, Ohio
Xfire ID: alloy45224
Steam ID: _TyIzaeL_
GFWL ID: TyIzaeL
|
 Re: Make PNGs Smaller
Jun 28, 2008 - Updated to include OptiPNG 0.6.
- Now includes scripts to make PNG re-compression required only one SendTo action.
- The scripts have the capability of compressing multiple PNGs at once.
_________________

|
| Sat Jun 28, 2008 2:17 pm |
|
 |
|
Ap3
Srsly owns
Joined: Tue Dec 18, 2007 6:20 am Posts: 1429 Location: Cincinnati, Ohio
Xfire ID: izoxoiz
Steam ID: RaNaL_Ap3
|
 Re: Make PNGs Smaller
I actually have ended up using it and it does save a significant amount of space when done in bulk! 
_________________
|
| Sat Jun 28, 2008 9:55 pm |
|
 |
|
_TyIzaeL_
Webmaster
Joined: Sun Dec 16, 2007 2:07 pm Posts: 5970 Location: Cincinnati, Ohio
Xfire ID: alloy45224
Steam ID: _TyIzaeL_
GFWL ID: TyIzaeL
|
 Re: Make PNGs Smaller
July 24, 2008 - Updated OptiPNG to version .0.6.1. - Changes
_________________

|
| Wed Jul 23, 2008 11:35 pm |
|
 |
|
ProSpirity
Cool post count, bro
Joined: Wed Aug 04, 2010 3:46 pm Posts: 1
|
 Re: Make PNGs Smaller
Can't thank you enough for writing this post. Could hardly believe it took me half to find how to set these up because there are no instructions on sourceforge. This is the simplest and clearest procedure I have found.
|
| Wed Aug 04, 2010 3:53 pm |
|
 |
|
_TyIzaeL_
Webmaster
Joined: Sun Dec 16, 2007 2:07 pm Posts: 5970 Location: Cincinnati, Ohio
Xfire ID: alloy45224
Steam ID: _TyIzaeL_
GFWL ID: TyIzaeL
|
 Re: Make PNGs Smaller
I'm glad you find these useful! Please be aware I haven't updated the programs distributed with these scripts in ages. I highly recommend that you grab the latest OptiPNG and AdvanceCOMP and replace the versions I distribute with the updated versions.
_________________

|
| Wed Aug 04, 2010 4:32 pm |
|
 |
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|