// ==========================================================
// FreeImage 3 .NET wrapper
// Original FreeImage 3 functions and .NET compatible derived functions
//
// Design and implementation by
// - Jean-Philippe Goerke (jpgoerke@users.sourceforge.net)
// - Carsten Klein (cklein05@users.sourceforge.net)
//
// Contributors:
// - David Boland (davidboland@vodafone.ie)
//
// Main reference : MSDN Knowlede Base
//
// This file is part of FreeImage 3
//
// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
// THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE
// OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED
// CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT
// THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY
// SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL
// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER
// THIS DISCLAIMER.
//
// Use at your own risk!
// ==========================================================
// ==========================================================
// CVS
// $Revision: 1.2 $
// $Date: 2009/09/15 11:45:16 $
// $Id: FREE_IMAGE_LOAD_FLAGS.cs,v 1.2 2009/09/15 11:45:16 cklein05 Exp $
// ==========================================================
namespace FreeImageAPI
{
///
/// Flags used in load functions.
///
[System.Flags]
public enum FREE_IMAGE_LOAD_FLAGS
{
///
/// Default option for all types.
///
DEFAULT = 0,
///
/// Load the image as a 256 color image with ununsed palette entries, if it's 16 or 2 color.
///
GIF_LOAD256 = 1,
///
/// 'Play' the GIF to generate each frame (as 32bpp) instead of returning raw frame data when loading.
///
GIF_PLAYBACK = 2,
///
/// Convert to 32bpp and create an alpha channel from the AND-mask when loading.
///
ICO_MAKEALPHA = 1,
///
/// Load the file as fast as possible, sacrificing some quality.
///
JPEG_FAST = 0x0001,
///
/// Load the file with the best quality, sacrificing some speed.
///
JPEG_ACCURATE = 0x0002,
///
/// Load separated CMYK "as is" (use | to combine with other load flags).
///
JPEG_CMYK = 0x0004,
///
/// Load and rotate according to Exif 'Orientation' tag if available.
///
JPEG_EXIFROTATE = 0x0008,
///
/// Load the bitmap sized 768 x 512.
///
PCD_BASE = 1,
///
/// Load the bitmap sized 384 x 256.
///
PCD_BASEDIV4 = 2,
///
/// Load the bitmap sized 192 x 128.
///
PCD_BASEDIV16 = 3,
///
/// Avoid gamma correction.
///
PNG_IGNOREGAMMA = 1,
///
/// If set the loader converts RGB555 and ARGB8888 -> RGB888.
///
TARGA_LOAD_RGB888 = 1,
///
/// Reads tags for separated CMYK.
///
TIFF_CMYK = 0x0001,
///
/// 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_PREVIEW = 0x1,
///
/// Loads the image as RGB 24-bit.
///
RAW_DISPLAY = 0x2,
}
}