parrotdroppings ([info]parrotdroppings) wrote,
@ 2004-08-03 16:48:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
TUTORIAL: Using OptiPNG
This is primarily for iconmakers who use PNGs.

Photoshop is bad at optimizing PNGs. Trust me when I say this.

OptiPNG - it's a free optimization tool that losslessly compresses the size of PNG files. It's main downfall is that it's techy (command line based and on Macs, you have to compile the source code yourself). Otherwise, it can take up to 30% off your filesizes, which would help with bandwidth problems and download times.


1. At the top of the OptiPNG page, download the Windows executable version.

2. Unzip it to it's own folder.

3. Move the .exe file to the folder with the files you want optimized. It's not really required, but it makes the command line stuff much easier.

4. Open the DOS prompt. For XP, open Run..., and type in "cmd.exe" to bring up the DOS prompt.

5. In the prompt, type in "cd the\path\to\the\folder\with\your\files".

6. Type in "optipng.exe nameoffile.png". If you didn't move the .exe file, you might have to type in "optipng.exe C:\path\to\folder\namoffile.png".

7. It should output something that looks like this:

"OptiPNG 0.4.5: Advanced PNG opimizer.
Copyright (C) 2001-2004 Comin Truta

**Processing nameoffile.png
Input file size = 6763 bytes
Input IDAT size = 6449 bytes
Trying...
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4983
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 5841
...

The best prarmeters are:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4983

New file size = 5297 bytes (1466 bytes reduction)
New IDAT size = 4983 bytes (1466 bytes = 22.73% reduction)"

8. Your original file should now be optimized.

I'll try to figure out the best way to compile the source code for Macs later.

Comments, questions, suggestions, screaming cries for help are all welcome.


(Post a new comment)

Advice, please...
[info]beatle9
2004-08-04 10:38 am UTC (link)
Someone suggested FuturePaint for reducing pic sizes. Someone also suggested Fire...something from Macromedia. And then there's AdobePhotoshop, which I heard is more difficult to use than the Firewhatever software but it can do animated stuff. Basically, I want to take a few pics of Paul and compile them into one icon of Beatle Paul hottness.

(Reply to this)(Thread)

Re: Advice, please...
[info]beatle9
2004-08-04 10:40 am UTC (link)
So which would you recommend? Apologies for the comment spam. Like the Pixies said, "Where is my mind?"

(Reply to this)(Parent)(Thread)

Re: Advice, please...
[info]thedeadparrot
2004-08-04 10:46 am UTC (link)
You just want to make an animated gif?

Best graphics software: Photoshop. I know it too, which is always a plus. ;) It's only for those really serious about design though, so keep that in mind.

If you have all the photos resized in GIF format, there's unFreez for animating them.

(Reply to this)(Parent)


pixiewing711
2004-08-04 11:17 pm UTC (link)
Hi, this is really really random, but I was wondering if you could make me an icon. Any picture of like...a cloudy or gray landscape or even just of Dave Matthews would be nice with these words:

"And though it’s red blood bleeding from her now
It feels like cold blue ice in her heart"

If you could help me with that it'd be much appreciated...thanks!

(Reply to this)(Thread)


[info]thedeadparrot
2004-08-05 04:27 am UTC (link)
That icon

(Reply to this)(Parent)(Thread)


pixiewing711
2004-08-05 10:14 am UTC (link)
THANK YOU SO MUCH!!!!

(Reply to this)(Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…