FreeImage.NET Class Library Reference
FREE_IMAGE_LOAD_FLAGS Enumeration |
Flags used in load functions.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
[FlagsAttribute] public enum FREE_IMAGE_LOAD_FLAGS
Members
Member name | Value | Description | |
---|---|---|---|
DEFAULT | 0 | Default option for all types. | |
GIF_LOAD256 | 1 | Load the image as a 256 color image with ununsed palette entries, if it's 16 or 2 color. | |
GIF_PLAYBACK | 2 | 'Play' the GIF to generate each frame (as 32bpp) instead of returning raw frame data when loading. | |
ICO_MAKEALPHA | 1 | Convert to 32bpp and create an alpha channel from the AND-mask when loading. | |
JPEG_FAST | 1 | Load the file as fast as possible, sacrificing some quality. | |
JPEG_ACCURATE | 2 | Load the file with the best quality, sacrificing some speed. | |
JPEG_CMYK | 4 | Load separated CMYK "as is" (use | to combine with other load flags). | |
JPEG_EXIFROTATE | 8 | Load and rotate according to Exif 'Orientation' tag if available. | |
PCD_BASE | 1 | Load the bitmap sized 768 x 512. | |
PCD_BASEDIV4 | 2 | Load the bitmap sized 384 x 256. | |
PCD_BASEDIV16 | 3 | Load the bitmap sized 192 x 128. | |
PNG_IGNOREGAMMA | 1 | Avoid gamma correction. | |
TARGA_LOAD_RGB888 | 1 | If set the loader converts RGB555 and ARGB8888 -> RGB888. | |
TIFF_CMYK | 1 | Reads tags for separated CMYK. | |
RAW_PREVIEW | 1 | Tries to load the JPEG preview image, embedded in Exif Metadata or load the image as RGB 24-bit if no preview image is available. | |
RAW_DISPLAY | 2 | Loads the image as RGB 24-bit. | |
RAW_HALFSIZE | 4 | Load as half-size color image. | |
RAW_UNPROCESSED | 8 | Load as FIT_UINT16 raw Bayer image. | |
FIF_LOAD_NOPIXELS | 32768 | Load the image header only (not supported by all plugins, default to full loading). |
See Also