Calling PureJPEG and PngCrush from Far Manager

I like to keep images that I upload to blog and websites small and free of metadata (EXIF etc). PureJPEG and PngCrush are two tools that help me to reduce image file size without affecting quality.

I invoke them from Far Manager using F2 user menu:

Far Manager user menu

Here’s how to configure it:

  1. Press F2 to open user menu.
  2. Press Insert key. Select ‘Insert Command’.
  3. Enter ‘j’ as hotkey, ‘PureJpeg’ as label and the following as command:
    “C:\Small Programs\PureJpeg\purejpeg.exe” “!.!”
  4. Press OK to save
Far Manager command to invoke PureJPEG

Far Manager replaces “!.!” with selected file name in double quotes.

I keep small apps and tools in ‘Small Programs’ folder. You might have them somewhere else.

Follow the same procedure for PNG Crush. Use this command:

"C:\Small Programs\Pngcrush\pngcrush.exe" -ow "!.!"

Note the -ow switch – it tells pngcrush to overwrite the source PNG file.

Now you can compress an image file losslessly by simply selecting it in Far Manager, pressing F2 and selecting PureJpeg or PngCrush.

Leave a Reply

Your email address will not be published. Required fields are marked *