Flags used in load functions.

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

Syntax

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

Members

Member nameDescription
DEFAULT
Default option for all types.
GIF_LOAD256
Load the image as a 256 color image with ununsed palette entries, if it's 16 or 2 color.
GIF_PLAYBACK
'Play' the GIF to generate each frame (as 32bpp) instead of returning raw frame data when loading.
ICO_MAKEALPHA
Convert to 32bpp and create an alpha channel from the AND-mask when loading.
JPEG_FAST
Load the file as fast as possible, sacrificing some quality.
JPEG_ACCURATE
Load the file with the best quality, sacrificing some speed.
JPEG_CMYK
Load separated CMYK "as is" (use | to combine with other load flags).
PCD_BASE
Load the bitmap sized 768 x 512.
PCD_BASEDIV4
Load the bitmap sized 384 x 256.
PCD_BASEDIV16
Load the bitmap sized 192 x 128.
PNG_IGNOREGAMMA
Avoid gamma correction.
TARGA_LOAD_RGB888
If set the loader converts RGB555 and ARGB8888 -> RGB888.
TIFF_CMYK
Reads tags for separated CMYK.
JPEG_EXIFROTATE
Load and rotate according to Exif 'Orientation' tag if available.
RAW_PREVIEW
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
Loads the image as RGB 24-bit.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also