Module: FreeImage::AbstractSource::Decoder
- Defined in:
- lib/free-image/sources/abstract_source.rb
Overview
The Decoder module defines various constants that control how various image formats are loaded.
Constant Summary collapse
- FIF_LOADNOPIXELS =
Load the image header only (not supported by all plugins)
0x8000
- GIF_DEFAULT =
0x0
- GIF_LOAD256 =
Load the image as a 256 color image with ununsed palette entries, if it’s 16 or 2 color
0x1
- GIF_PLAYBACK =
‘Play’ the GIF to generate each frame (as 32bpp) instead of returning raw frame data when loading
0x2
- ICO_DEFAULT =
0x0
- JPEG_DEFAULT =
Loading (see JPEG_FAST); saving (see JPEG_QUALITYGOOD|JPEG_SUBSAMPLING_420)
0x0
- JPEG_FAST =
Load the file as fast as possible, sacrificing some quality
0x1
- JPEG_ACCURATE =
Load the file with the best quality, sacrificing some speed
0x2
- JPEG_CMYK =
Load separated CMYK “as is” (use | to combine with other load flags)
0x4
- JPEG_EXIFROTATE =
Load and rotate according to Exif ‘Orientation’ tag if available
0x8
- PCD_DEFAULT =
0x0
- PCD_BASE =
Load the bitmap sized 768 x 512
0x1
- PCD_BASEDIV4 =
Load the bitmap sized 384 x 256
0x2
- PCD_BASEDIV16 =
Load the bitmap sized 192 x 128
0x3
- PNG_IGNOREGAMMA =
Loading: avoid gamma correction
0x1
- PSD_DEFAULT =
0x0
- PSD_CMYK =
Reads tags for separated CMYK (default is conversion to RGB)
0x1
- PSD_LAB =
Reads tags for CIELab (default is conversion to RGB)
0x2
- RAW_DEFAULT =
Load the file as linear RGB 48-bit
0x0
- RAW_PREVIEW =
Try to load the embedded JPEG preview with included Exif Data or default to RGB 24-bit
0x1
- RAW_DISPLAY =
Load the file as RGB 24-bit
0x2
- RAW_HALFSIZE =
Output a half-size color image
0x4
- TARGA_LOAD_RGB888 =
If set the loader converts RGB555 and ARGB8888 -> RGB888.
0x1
- TIFF_CMYK =
Reads/stores tags for separated CMYK (use | to combine with compression flags)
0x1