PNGOUT – The PNG Optimizer

In this article, I would like to introduce a tiny image compression tool or image optimizer for PNG image files. The PNGOUT is a command-line utility that you can use to optimize any PNG file created by any other programs. You can run this application on both Windows Run dialog box or command prompt. Using a command prompt will be more effective as it has a lot of options that produce optimized lossless PNG images with size reduction.


PNGOUT – The image optimizer for PNG:

PNGOUT Command Line Options:

PNGOUT has the below list of command-line options that affect compression ratio.

Color Options:

Use the option /c followed by the number listed below.

  • 0 – grayscale
  • 2 – RGB
  • 3 – palette
  • 4 – greyscale + alpha
  • 6 – RGB + alpha

Filter options:

Use the option /f followed by the number listed below.

  • 0 – None
  • 1 – Sub (delta x)
  • 2 – Up (delta y)
  • 3 – Average (delta x&y)
  • 4 – Paeth
  • 5 – Adaptive (mixed)
  • 6 – Reuse (copy line by line from source PNG)

Strategy options:

Use the option /s followed by the number listed below.

  • 0 – Xtreme! (Slowest)
  • 1 – Intense (Slow)
  • 2 – Longest Match (Fast)
  • 3 – Huffman Only (Faster)
  • 4 – Uncompressed (Fastest)

PNGOUT exit codes or status codes:

The PNGOUT command line utility has certain exit codes when there are any error while executing the command or successful executing the command. These exit codes are useful when using batch files.

  • 0 – Wrote file
  • 1 – File error
  • 2 – Unable to compress further
  • 3 – Bad options

Download Location:

The PNGOUT commandline utility can be download from is official website.




– Article ends here –

If you have any questions, please feel free to share your questions or comments on the comment box below.

Recommended:   Trimage - Image Compression Tool
Share this:
We will be happy to hear your thoughts

Leave a reply

Troubleshootyourself
Logo