Options Related to PNG Files
| OptionId |
Allowed Values |
Usage |
[ImagingPNGPreFilter] |
0, 1, 2, 3, 4, 5, 6 |
Sets precompression filter used when saving PNG images. Allowed values
are:
0 - None Filter
1 - Sub Filter
2 - Up Filter
3 - Average Filter
4 - Paeth Filter
5 - Use 0 for indexed/gray images and 4 for RGB/ARGB images
6 - Adaptive filtering - use best filter for each scanline - very slow
Note that filters 3 and 4 are much slower than filters 1 and 2.
Default value is 5. |
[ImagingPNGCompressLevel] |
0 (no compression) to 9 (best compression) |
Sets ZLib compression level used when saving PNG images.
Default value is 5. |
[ImagingPNGLoadAnimated] |
0 (false) or 1 (true) |
Boolean option that specifies whether PNG images with more frames (APNG format)
are animated by Imaging (according to frame disposal/blend methods) or just
raw frames are loaded and sent to user (if you want to animate APNG yourself).
Default value is 1. |