The PNGOUT is a command line utility that can be used to optimize any PNG file which was created by any other programs. This application can run on both Windows Run dialog box or command prompt. Using with command prompt will be more effective as it has lot of options that produce optimized lossless PNG image with size reduction.
PNGOUT Command Line Options:
PNGOUT has the below list of command line options that affect compression ratio.
Use the option /c followed by the number listed below.
- 0 – grayscale
- 2 – RGB
- 3 – palette
- 4 – greyscale + alpha
- 6 – RGB + alpha
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)
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
The PNGOUT commandline utility can be downloaded from is official website.
Software engineer by profession, founder of troubleshotyourself channel. Enthusiastic blogger and love to write articles on new technology, programming, networking and more. Reach me at firstname.lastname@example.org.