Additionally, file size gain must be greater than the amount of quality lost. If quality drops by 50%, it will expect 50% file size reduction to consider it worthwhile.
Truncate number of least significant bits of color (per channel). Use this when image will be output on low-depth displays (e.g. 16-bit RGB).
.Nm
will make almost-opaque pixels fully opaque and will reduce amount of semi-transparent colors. When this option is enabled the default filename suffix is
.Ql-ie-fs8.png
/
.Ql-ie-or8.png.
.ItFlFltransbug
Workaround for readers that expect fully transparent color to be the last entry in the palette.
.ItFlv,FlFlverbose
Enable verbose messages showing progress and information about input/output. Opposite is
.FlFlquiet.
Errors are output to
.Pastderr
regardless of this option.
.ItFlV,FlFlversion
Display version on
.Pastdout
and exit.
.ItFlh,FlFlhelp
Display help and exit.
.El
.ShEXAMPLE
Creating a new image with the number of colors reduced to 64:
.Bd-ragged-offsetindent
.Nm
.Cm64image.png
.Ed
.Pp
The resulting image will have 64 colors and will be saved as
.Paimage-fs8.png.
.Pp
Overwriting image in-place if it can be reduced without too much quality loss: