FreeImage.NET Class Library Reference
FREE_IMAGE_SAVE_FLAGS Enumeration |
Flags used in save functions.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
[FlagsAttribute] public enum FREE_IMAGE_SAVE_FLAGS
Members
Member name | Value | Description | |
---|---|---|---|
DEFAULT | 0 | Default option for all types. | |
BMP_SAVE_RLE | 1 | Save with run length encoding. | |
EXR_FLOAT | 1 | Save data as float instead of as half (not recommended). | |
EXR_NONE | 2 | Save with no compression. | |
EXR_ZIP | 4 | Save with zlib compression, in blocks of 16 scan lines. | |
EXR_PIZ | 8 | Save with piz-based wavelet compression. | |
EXR_PXR24 | 16 | Save with lossy 24-bit float compression. | |
EXR_B44 | 32 | Save with lossy 44% float compression - goes to 22% when combined with EXR_LC. | |
EXR_LC | 64 | Save images with one luminance and two chroma channels, rather than as RGB (lossy compression). | |
JPEG_QUALITYSUPERB | 128 | Save with superb quality (100:1). | |
JPEG_QUALITYGOOD | 256 | Save with good quality (75:1). | |
JPEG_QUALITYNORMAL | 512 | Save with normal quality (50:1). | |
JPEG_QUALITYAVERAGE | 1024 | Save with average quality (25:1). | |
JPEG_QUALITYBAD | 2048 | Save with bad quality (10:1). | |
JPEG_PROGRESSIVE | 8192 | Save as a progressive-JPEG (use | to combine with other save flags). | |
JPEG_SUBSAMPLING_411 | 4096 | Save with high 4x1 chroma subsampling (4:1:1). | |
JPEG_SUBSAMPLING_420 | 16384 | Save with medium 2x2 medium chroma (4:2:0). | |
JPEG_SUBSAMPLING_422 | 32768 | Save with low 2x1 chroma subsampling (4:2:2). | |
JPEG_SUBSAMPLING_444 | 65536 | Save with no chroma subsampling (4:4:4). | |
JPEG_OPTIMIZE | 131072 | On saving, compute optimal Huffman coding tables (can reduce a few percent of file size). | |
JPEG_BASELINE | 262144 | save basic JPEG, without metadata or any markers. | |
PNG_Z_BEST_SPEED | 1 | Save using ZLib level 1 compression flag (default value is PNG_Z_DEFAULT_COMPRESSION). | |
PNG_Z_DEFAULT_COMPRESSION | 6 | Save using ZLib level 6 compression flag (default recommended value). | |
PNG_Z_BEST_COMPRESSION | 9 | save using ZLib level 9 compression flag (default value is PNG_Z_DEFAULT_COMPRESSION). | |
PNG_Z_NO_COMPRESSION | 256 | Save without ZLib compression. | |
PNG_INTERLACED | 512 | Save using Adam7 interlacing (use | to combine with other save flags). | |
PNM_SAVE_ASCII | 1 | If set the writer saves in ASCII format (i.e. P1, P2 or P3). | |
TIFF_CMYK | 1 | Stores tags for separated CMYK (use | to combine with compression flags). | |
TIFF_PACKBITS | 256 | Save using PACKBITS compression. | |
TIFF_DEFLATE | 512 | Save using DEFLATE compression (a.k.a. ZLIB compression). | |
TIFF_ADOBE_DEFLATE | 1024 | Save using ADOBE DEFLATE compression. | |
TIFF_NONE | 2048 | Save without any compression. | |
TIFF_CCITTFAX3 | 4096 | Save using CCITT Group 3 fax encoding. | |
TIFF_CCITTFAX4 | 8192 | Save using CCITT Group 4 fax encoding. | |
TIFF_LZW | 16384 | Save using LZW compression. | |
TIFF_JPEG | 32768 | Save using JPEG compression. | |
WEBP_DEFAULT | 0 | Save with good quality (75:1) | |
WEBP_LOSSLESS | 256 | Save in lossless mode | |
JXR_DEFAULT | 0 | Save with quality 80 and no chroma subsampling (4:4:4) | |
JXR_LOSSLESS | 100 | Save lossless | |
JXR_PROGRESSIVE | 8192 | Save as a progressive-JXR (use | to combine with other save flags) |
See Also