Module enums

Various FreeImage enumerations.

Theses are shown here as tables, for documentation purposes. In practice, the Corona binding only accepts strings, namely one of the field names from the enumeration in question, e.g. "RED" when supplying a FREE_IMAGE_COLOR_CHANNEL-type argument.

Tables

FREE_IMAGE_COLOR_CHANNEL Color channels.
FREE_IMAGE_COLOR_TYPE Image color type used in FreeImage.
FREE_IMAGE_DITHER Dithering algorithms.
FREE_IMAGE_FILTER Upsampling / downsampling filters.
FREE_IMAGE_FORMAT I/O image format identifiers.
FREE_IMAGE_MDMODEL Metadata models supported by FreeImage.
FREE_IMAGE_MDTYPE Tag data type information (based on TIFF specifications).
FREE_IMAGE_QUANTIZE Color quantization algorithms.
FREE_IMAGE_TMO Tone mapping operators.
FREE_IMAGE_TYPE Image type used in FreeImage.


Tables

FREE_IMAGE_COLOR_CHANNEL
Color channels.

Constants used in color manipulation routines.

Fields:

  • RGB Use red, green and blue channels.
  • RED Use red channel.
  • GREEN Use green channel.
  • BLUE Use blue channel.
  • ALPHA Use alpha channel.
  • BLACK Use black channel.
  • REAL Complex images: use real part.
  • IMAG Complex images: use imaginary part.
  • MAG Complex images: use magnitude.
  • PHASE Complex images: use phase.
FREE_IMAGE_COLOR_TYPE
Image color type used in FreeImage.

Fields:

  • MINISWHITE Min value is white.
  • MINISBLACK Min value is black.
  • RGB RGB color model.
  • PALETTE Color map indexed.
  • RGBALPHA RGB color model with alpha channel.
  • CMYK CMYK color model.
FREE_IMAGE_DITHER
Dithering algorithms.

Fields:

  • FS Floyd & Steinberg error diffusion.
  • BAYER4x4 Bayer ordered dispersed dot dithering (order 2 dithering matrix).
  • BAYER8x8 Bayer ordered dispersed dot dithering (order 3 dithering matrix).
  • CLUSTER6x6 Ordered clustered dot dithering (order 3 - 6x6 matrix).
  • CLUSTER8x8 Ordered clustered dot dithering (order 4 - 8x8 matrix).
  • CLUSTER16x16 Ordered clustered dot dithering (order 8 - 16x16 matrix).
  • BAYER16x16 Bayer ordered dispersed dot dithering (order 4 dithering matrix).
FREE_IMAGE_FILTER
Upsampling / downsampling filters.

Fields:

  • BOX Box, pulse, Fourier window, 1st order (constant) b-spline.
  • BICUBIC Mitchell & Netravali's two-param cubic filter.
  • BILINEAR Bilinear filter.
  • BSPLINE 4th order (cubic) b-spline.
  • CATMULLROM Catmull-Rom spline, Overhauser spline.
  • LANCZOS3 Lanczos3 filter.
FREE_IMAGE_FORMAT
I/O image format identifiers.

Fields:

  • UNKNOWN
  • BMP
  • ICO
  • JPEG
  • JNG
  • KOALA
  • LBM
  • IFF (synonym for LBM)
  • MNG
  • PBM
  • PBMRAW
  • PCD
  • PCX
  • PGM
  • PGMRAW
  • PNG
  • PPM
  • PPMRAW
  • RAS
  • TARGA
  • TIFF
  • WBMP
  • PSD
  • CUT
  • XBM
  • XPM
  • DDS
  • GIF
  • HDR
  • FAXG3
  • SGI
  • EXR
  • J2K
  • JP2
  • PFM
  • PICT
  • RAW
  • WEBP
  • JXR
FREE_IMAGE_MDMODEL
Metadata models supported by FreeImage.

Fields:

  • NODATA
  • COMMENTS Single comment or keywords.
  • EXIF_MAIN Exif-TIFF metadata.
  • EXIF_EXIF Exif-specific metadata.
  • EXIF_GPS Exif GPS metadata.
  • EXIF_MAKERNOTE Exif maker note metadata.
  • EXIF_INTEROP Exif interoperability metadata.
  • IPTC IPTC/NAA metadata.
  • XMP Abobe XMP metadata.
  • GEOTIFF GeoTIFF metadata.
  • ANIMATION Animation metadata.
  • CUSTOM Used to attach other metadata types to a dib.
  • EXIF_RAW Exif metadata as a raw buffer.
FREE_IMAGE_MDTYPE
Tag data type information (based on TIFF specifications).

Note: RATIONALs are the ratio of two 32-bit integer values.

Fields:

  • NOTYPE Placeholder .
  • BYTE 8-bit unsigned integer.
  • ASCII 8-bit bytes w/ last byte null.
  • SHORT 16-bit unsigned integer.
  • LONG 32-bit unsigned integer.
  • RATIONAL 64-bit unsigned fraction.
  • SBYTE
    8-bit signed integer.
    
  • UNDEFINED
    8-bit untyped data.
    
  • SSHORT 16-bit signed integer.
  • SLONG 32-bit signed integer.
  • SRATIONAL 64-bit signed fraction.
  • FLOAT 32-bit IEEE floating point.
  • DOUBLE 64-bit IEEE floating point.
  • IFD 32-bit unsigned integer (offset).
  • PALETTE 32-bit RGBQUAD.
  • LONG8 64-bit unsigned integer.
  • SLONG8 64-bit signed integer.
  • IFD8 64-bit unsigned integer (offset).
FREE_IMAGE_QUANTIZE
Color quantization algorithms.

Fields:

  • WUQUANT Xiaolin Wu color quantization algorithm.
  • NNQUANT NeuQuant neural-net quantization algorithm by Anthony Dekker.
  • LFPQUANT Lossless Fast Pseudo-Quantization Algorithm by Carsten Klein.
FREE_IMAGE_TMO
Tone mapping operators.

Fields:

  • DRAGO03 Adaptive logarithmic mapping (F. Drago, 2003).
  • REINHARD05 Dynamic range reduction inspired by photoreceptor physiology (E. Reinhard, 2005).
  • FATTAL02 Gradient domain high dynamic range compression (R. Fattal, 2002).
FREE_IMAGE_TYPE
Image type used in FreeImage.

Fields:

  • UNKNOWN Unknown type.
  • BITMAP Standard image: 1-, 4-, 8-, 16-, 24-, 32-bit.
  • UINT16 Array of unsigned short: unsigned 16-bit.
  • INT16 Array of short: signed 16-bit.
  • UINT32 Array of unsigned long: unsigned 32-bit.
  • INT32 Array of long: signed 32-bit.
  • FLOAT Array of float: 32-bit IEEE floating point.
  • DOUBLE Array of double: 64-bit IEEE floating point.
  • COMPLEX Array of FICOMPLEX: 2 x 64-bit IEEE floating point.
  • RGB16 48-bit RGB image: 3 x 16-bit.
  • RGBA16 64-bit RGBA image: 4 x 16-bit.
  • RGBF 96-bit RGB float image: 3 x 32-bit IEEE floating point.
  • RGBAF 128-bit RGBA float image: 4 x 32-bit IEEE floating point.
generated by LDoc 1.4.0