FREE_IMAGE_LOAD_FLAGS Enumeration

FreeImage.NET

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 nameValueDescription
DEFAULT0 Default option for all types.
GIF_LOAD2561 Load the image as a 256 color image with ununsed palette entries, if it's 16 or 2 color.
GIF_PLAYBACK2 'Play' the GIF to generate each frame (as 32bpp) instead of returning raw frame data when loading.
ICO_MAKEALPHA1 Convert to 32bpp and create an alpha channel from the AND-mask when loading.
JPEG_FAST1 Load the file as fast as possible, sacrificing some quality.
JPEG_ACCURATE2 Load the file with the best quality, sacrificing some speed.
JPEG_CMYK4 Load separated CMYK "as is" (use | to combine with other load flags).
JPEG_EXIFROTATE8 Load and rotate according to Exif 'Orientation' tag if available.
PCD_BASE1 Load the bitmap sized 768 x 512.
PCD_BASEDIV42 Load the bitmap sized 384 x 256.
PCD_BASEDIV163 Load the bitmap sized 192 x 128.
PNG_IGNOREGAMMA1 Avoid gamma correction.
TARGA_LOAD_RGB8881 If set the loader converts RGB555 and ARGB8888 -> RGB888.
TIFF_CMYK1 Reads tags for separated CMYK.
RAW_PREVIEW1 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_DISPLAY2 Loads the image as RGB 24-bit.
RAW_HALFSIZE4 Load as half-size color image.
RAW_UNPROCESSED8 Load as FIT_UINT16 raw Bayer image.
FIF_LOAD_NOPIXELS32768 Load the image header only (not supported by all plugins, default to full loading).
See Also