Portable Network Graphics (PNG)
Png file format is a comparatively new progressive format originally designed to replace dated Gif. Use the following parameters to adjust settings of this format:
- bpp - color depth (default - 24 bpp)
- quant - quantization levels (default - 8)
- dither - dithering (default - yes)
- compression - compression level (default- 5)
bpp
Bpp parameter specifies the number of bits used to transfer colors of one pixel. Its allowed values are:
- 1 - 1 bpp (Mono)
- 4 - 4 bpp (Indexed)
- 8 - 8 bpp (Indexed)
- 24 - 24 bpp (True color, RGB)
- 32 - 32 bpp (True color, RGBA)
- 48 - 48 bpp (True color, RGB)
- 64 - 64 bpp (True color, RGBA)
The default value is: 24.
Example:
quant
Quant parameter reduces the number of distinct colors used in an image while preserving visual image quality. Quant parameter can accept a whole number from 0 to 8.
The default value is: 8.
Example:
dither
Dither is a form of noise, or 'erroneous' signal or data which is added to sample data to minimize quantization error. Dither parameter can accept two values: yes and no.
The default value is: yes.
Example:
compression
Compression parameter specifies compression level of the output image. It can accept whole numbers from 0 to 9 (default - 5). The default value is: 5.
Example:
general example
ICPCL.exe -convertto png bpp:32 compression:8 quant:2 dither:no -source "C:\Original files" -dest "C:\Converted files"
tips
-
Quant parameter should only be used if bpp parameter is set to 1, 4 or 8 bpp.
Example:
ICPCL.exe -convertto png bpp:8 quant:3 -source "C:\Original files" -dest "C:\Converted files" -
Dither parameter should only be used if bpp parameter is set to 1, 4 or 8 bpp.
Example:
ICPCL.exe -convertto png bpp:8 dither:no -source "C:\Original files" -dest "C:\Converted files"