Flags used in save functions.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
[FlagsAttribute]
public enum FREE_IMAGE_SAVE_FLAGS
Visual Basic (Declaration)
<FlagsAttribute> _
Public Enumeration FREE_IMAGE_SAVE_FLAGS
Visual C++
[FlagsAttribute]
public enum class FREE_IMAGE_SAVE_FLAGS

Members

Member nameDescription
DEFAULT
Default option for all types.
BMP_SAVE_RLE
Save with run length encoding.
EXR_FLOAT
Save data as float instead of as half (not recommended).
EXR_NONE
Save with no compression.
EXR_ZIP
Save with zlib compression, in blocks of 16 scan lines.
EXR_PIZ
Save with piz-based wavelet compression.
EXR_PXR24
Save with lossy 24-bit float compression.
EXR_B44
Save with lossy 44% float compression - goes to 22% when combined with EXR_LC.
EXR_LC
Save images with one luminance and two chroma channels, rather than as RGB (lossy compression).
JPEG_QUALITYSUPERB
Save with superb quality (100:1).
JPEG_QUALITYGOOD
Save with good quality (75:1).
JPEG_QUALITYNORMAL
Save with normal quality (50:1).
JPEG_QUALITYAVERAGE
Save with average quality (25:1).
JPEG_QUALITYBAD
Save with bad quality (10:1).
JPEG_PROGRESSIVE
Save as a progressive-JPEG (use | to combine with other save flags).
JPEG_SUBSAMPLING_411
Save with high 4x1 chroma subsampling (4:1:1).
JPEG_SUBSAMPLING_420
Save with medium 2x2 medium chroma (4:2:0).
JPEG_SUBSAMPLING_422
Save with low 2x1 chroma subsampling (4:2:2).
JPEG_SUBSAMPLING_444
Save with no chroma subsampling (4:4:4).
PNG_Z_BEST_SPEED
Save using ZLib level 1 compression flag (default value is PNG_Z_DEFAULT_COMPRESSION).
PNG_Z_DEFAULT_COMPRESSION
Save using ZLib level 6 compression flag (default recommended value).
PNG_Z_BEST_COMPRESSION
save using ZLib level 9 compression flag (default value is PNG_Z_DEFAULT_COMPRESSION).
PNG_Z_NO_COMPRESSION
Save without ZLib compression.
PNG_INTERLACED
Save using Adam7 interlacing (use | to combine with other save flags).
PNM_SAVE_ASCII
If set the writer saves in ASCII format (i.e. P1, P2 or P3).
TIFF_CMYK
Stores tags for separated CMYK (use | to combine with compression flags).
TIFF_PACKBITS
Save using PACKBITS compression.
TIFF_DEFLATE
Save using DEFLATE compression (a.k.a. ZLIB compression).
TIFF_ADOBE_DEFLATE
Save using ADOBE DEFLATE compression.
TIFF_NONE
Save without any compression.
TIFF_CCITTFAX3
Save using CCITT Group 3 fax encoding.
TIFF_CCITTFAX4
Save using CCITT Group 4 fax encoding.
TIFF_LZW
Save using LZW compression.
TIFF_JPEG
Save using JPEG compression.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also