mikedopp

doppcom

  Home :: Contact :: Syndication  :: Login
  236 Posts :: 0 Stories :: 30 Comments :: 4 Trackbacks

News

Mike Dopp

Web Developer , Information Architect and Social Networking Enthusiast.
My Resume


Song o' week

Twitter Feed

TwitterCounter for @mikedopp

Get Microsoft Silverlight

Plurk Feed

Plurk.com


Whos.Amung.Us? site statistics

blogrush feed





Blog Directory - Blogged
GeoURL

Archives

Post Categories

Friends and Family

Geek

Web Development

So in being a web developer I have little tweaks and special tools to help me stay sane and keep web pages loading quick .

 

Joe Levi had shown me a great little tool for optimizing your .png's called pngcrush. Of course this was back when I was using windows XP sp2 (cause we all know sp2 was another operating system within the original XP OS) so changing the context menu was much more simple and fun. However it was a 10 minute project to come up with a way to put "CrushthatfunkyPNG" in the right click context menu. So I will share it so maybe my wasted 10minutes with be 1 minute for you. Here Goes:

First download the latest version of  PNGCrush;

Second extract the exe and where you want it to live; ie(C:\Program Files\PNGCrush)

Now for some registry tom foolery(Hacking):

HKEY_CLASSES_ROOT\*\shell\CrushthatfunkyPNG]
[HKEY_CLASSES_ROOT\*\shell\CrushthatfunkyPNG\Command]
Modify the Command key to be this exactly including the quotes:

"C:\Program Files\PNGCrush\pngcrush-1.5.10-win32.exe" -fix -reduce -brute -d compressed "%1"

And now a pretty little png crushing app in your windows vista context menu.

Another hint if you would like to add any other programs to your context menu this works the same way.

 

Thanks to Joe Levi / Neilturner for the idea

posted on Sunday, August 19, 2007 4:41 PM

Feedback

# re: PNGCrush in Windows Vista context menu 10/8/2007 11:11 AM Poncho
You should go to .png instead of * and create shell\CrushthatfunkyPNG.
I haven't tried it...

# re: PNGCrush in Windows Vista context menu 10/8/2007 12:20 PM mike doppp
Good Call. I will have to update that to the post. Thanks poncho.

Comments have been closed on this topic.