6.142. sibl_gui.libraries.freeImage.freeImage

freeImage.py

Platform:
Windows, Linux, Mac Os X.
Description:
Provides FreeImage library ( http://freeimage.sourceforge.net/ ) bindings.
Others:
Portions of the code from FreeImagePy by Michele Petrazzo: http://freeimagepy.sourceforge.net/ and ctypesgen: http://code.google.com/p/ctypesgen/.

6.142.1. Module Attributes

sibl_gui.libraries.freeImage.freeImage.LOGGER
sibl_gui.libraries.freeImage.freeImage.FREEIMAGE_LIBRARY_PATH
sibl_gui.libraries.freeImage.freeImage.FREEIMAGE_MAJOR_VERSION
sibl_gui.libraries.freeImage.freeImage.FREEIMAGE_MINOR_VERSION
sibl_gui.libraries.freeImage.freeImage.FREEIMAGE_RELEASE_SERIAL
sibl_gui.libraries.freeImage.freeImage.FREEIMAGE_LOOKUP
sibl_gui.libraries.freeImage.freeImage.INT
sibl_gui.libraries.freeImage.freeImage.BOOL
sibl_gui.libraries.freeImage.freeImage.BYTE
sibl_gui.libraries.freeImage.freeImage.WORD
sibl_gui.libraries.freeImage.freeImage.DWORD
sibl_gui.libraries.freeImage.freeImage.LONG
sibl_gui.libraries.freeImage.freeImage.DOUBLE
sibl_gui.libraries.freeImage.freeImage.BYTE_P
sibl_gui.libraries.freeImage.freeImage.FREEIMAGE_COLORORDER_BGR
sibl_gui.libraries.freeImage.freeImage.FREEIMAGE_COLORORDER_RGB
sibl_gui.libraries.freeImage.freeImage.RGBQUAD
sibl_gui.libraries.freeImage.freeImage.RGBTRIPLE
sibl_gui.libraries.freeImage.freeImage.BITMAPINFOHEADER
sibl_gui.libraries.freeImage.freeImage.BITMAPINFO
sibl_gui.libraries.freeImage.freeImage.PBITMAPINFO
sibl_gui.libraries.freeImage.freeImage.FIRGB16
sibl_gui.libraries.freeImage.freeImage.FIRGBA16
sibl_gui.libraries.freeImage.freeImage.FIRGBF
sibl_gui.libraries.freeImage.freeImage.FIRGBAF
sibl_gui.libraries.freeImage.freeImage.FICOMPLEX
sibl_gui.libraries.freeImage.freeImage.FI_RGBA_RGB_MASK
sibl_gui.libraries.freeImage.freeImage.FI_RGBA_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FI16_555_RED_MASK
sibl_gui.libraries.freeImage.freeImage.FI16_555_GREEN_MASK
sibl_gui.libraries.freeImage.freeImage.FI16_555_BLUE_MASK
sibl_gui.libraries.freeImage.freeImage.FI16_555_RED_SHIFT
sibl_gui.libraries.freeImage.freeImage.FI16_555_GREEN_SHIFT
sibl_gui.libraries.freeImage.freeImage.FI16_555_BLUE_SHIFT
sibl_gui.libraries.freeImage.freeImage.FI16_565_RED_MASK
sibl_gui.libraries.freeImage.freeImage.FI16_565_GREEN_MASK
sibl_gui.libraries.freeImage.freeImage.FI16_565_BLUE_MASK
sibl_gui.libraries.freeImage.freeImage.FI16_565_RED_SHIFT
sibl_gui.libraries.freeImage.freeImage.FI16_565_GREEN_SHIFT
sibl_gui.libraries.freeImage.freeImage.FI16_565_BLUE_SHIFT
sibl_gui.libraries.freeImage.freeImage.FI16_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FIICC_DEFAULT
sibl_gui.libraries.freeImage.freeImage.FIICC_COLOR_IS_CMYK
sibl_gui.libraries.freeImage.freeImage.FIICC_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_FORMAT
sibl_gui.libraries.freeImage.freeImage.FIF_UNKNOWN
sibl_gui.libraries.freeImage.freeImage.FIF_BMP
sibl_gui.libraries.freeImage.freeImage.FIF_ICO
sibl_gui.libraries.freeImage.freeImage.FIF_JPEG
sibl_gui.libraries.freeImage.freeImage.FIF_JNG
sibl_gui.libraries.freeImage.freeImage.FIF_KOALA
sibl_gui.libraries.freeImage.freeImage.FIF_LBM
sibl_gui.libraries.freeImage.freeImage.FIF_IFF
sibl_gui.libraries.freeImage.freeImage.FIF_MNG
sibl_gui.libraries.freeImage.freeImage.FIF_PBM
sibl_gui.libraries.freeImage.freeImage.FIF_PBMRAW
sibl_gui.libraries.freeImage.freeImage.FIF_PCD
sibl_gui.libraries.freeImage.freeImage.FIF_PCX
sibl_gui.libraries.freeImage.freeImage.FIF_PGM
sibl_gui.libraries.freeImage.freeImage.FIF_PGMRAW
sibl_gui.libraries.freeImage.freeImage.FIF_PNG
sibl_gui.libraries.freeImage.freeImage.FIF_PPM
sibl_gui.libraries.freeImage.freeImage.FIF_PPMRAW
sibl_gui.libraries.freeImage.freeImage.FIF_RAS
sibl_gui.libraries.freeImage.freeImage.FIF_TARGA
sibl_gui.libraries.freeImage.freeImage.FIF_TIFF
sibl_gui.libraries.freeImage.freeImage.FIF_WBMP
sibl_gui.libraries.freeImage.freeImage.FIF_PSD
sibl_gui.libraries.freeImage.freeImage.FIF_CUT
sibl_gui.libraries.freeImage.freeImage.FIF_XBM
sibl_gui.libraries.freeImage.freeImage.FIF_XPM
sibl_gui.libraries.freeImage.freeImage.FIF_DDS
sibl_gui.libraries.freeImage.freeImage.FIF_GIF
sibl_gui.libraries.freeImage.freeImage.FIF_HDR
sibl_gui.libraries.freeImage.freeImage.FIF_FAXG3
sibl_gui.libraries.freeImage.freeImage.FIF_SGI
sibl_gui.libraries.freeImage.freeImage.FIF_EXR
sibl_gui.libraries.freeImage.freeImage.FIF_J2K
sibl_gui.libraries.freeImage.freeImage.FIF_JP2
sibl_gui.libraries.freeImage.freeImage.FIF_PFM
sibl_gui.libraries.freeImage.freeImage.FIF_PICT
sibl_gui.libraries.freeImage.freeImage.FIF_RAW
sibl_gui.libraries.freeImage.freeImage.FIF_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_TYPE
sibl_gui.libraries.freeImage.freeImage.FIT_UNKNOWN
sibl_gui.libraries.freeImage.freeImage.FIT_BITMAP
sibl_gui.libraries.freeImage.freeImage.FIT_UINT16
sibl_gui.libraries.freeImage.freeImage.FIT_INT16
sibl_gui.libraries.freeImage.freeImage.FIT_UINT32
sibl_gui.libraries.freeImage.freeImage.FIT_INT32
sibl_gui.libraries.freeImage.freeImage.FIT_FLOAT
sibl_gui.libraries.freeImage.freeImage.FIT_DOUBLE
sibl_gui.libraries.freeImage.freeImage.FIT_COMPLEX
sibl_gui.libraries.freeImage.freeImage.FIT_RGB16
sibl_gui.libraries.freeImage.freeImage.FIT_RGBA16
sibl_gui.libraries.freeImage.freeImage.FIT_RGBF
sibl_gui.libraries.freeImage.freeImage.FIT_RGBAF
sibl_gui.libraries.freeImage.freeImage.FIT_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_COLOR_TYPE
sibl_gui.libraries.freeImage.freeImage.FIC_MINISWHITE
sibl_gui.libraries.freeImage.freeImage.FIC_MINISBLACK
sibl_gui.libraries.freeImage.freeImage.FIC_RGB
sibl_gui.libraries.freeImage.freeImage.FIC_PALETTE
sibl_gui.libraries.freeImage.freeImage.FIC_RGBALPHA
sibl_gui.libraries.freeImage.freeImage.FIC_CMYK
sibl_gui.libraries.freeImage.freeImage.FIC_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_QUANTIZE
sibl_gui.libraries.freeImage.freeImage.FIQ_WUQUANT
sibl_gui.libraries.freeImage.freeImage.FIQ_NNQUANT
sibl_gui.libraries.freeImage.freeImage.FIQ_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_DITHER
sibl_gui.libraries.freeImage.freeImage.FID_FS
sibl_gui.libraries.freeImage.freeImage.FID_BAYER4x4
sibl_gui.libraries.freeImage.freeImage.FID_BAYER8x8
sibl_gui.libraries.freeImage.freeImage.FID_CLUSTER6x6
sibl_gui.libraries.freeImage.freeImage.FID_CLUSTER8x8
sibl_gui.libraries.freeImage.freeImage.FID_CLUSTER16x16
sibl_gui.libraries.freeImage.freeImage.FID_BAYER16x16
sibl_gui.libraries.freeImage.freeImage.FID_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_JPEG_OPERATION
sibl_gui.libraries.freeImage.freeImage.FIJPEG_OP_NONE
sibl_gui.libraries.freeImage.freeImage.FIJPEG_OP_FLIP_H
sibl_gui.libraries.freeImage.freeImage.FIJPEG_OP_FLIP_V
sibl_gui.libraries.freeImage.freeImage.FIJPEG_OP_TRANSPOSE
sibl_gui.libraries.freeImage.freeImage.FIJPEG_OP_TRANSVERSE
sibl_gui.libraries.freeImage.freeImage.FIJPEG_OP_ROTATE_90
sibl_gui.libraries.freeImage.freeImage.FIJPEG_OP_ROTATE_180
sibl_gui.libraries.freeImage.freeImage.FIJPEG_OP_ROTATE_270
sibl_gui.libraries.freeImage.freeImage.FIJPEG_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_TMO
sibl_gui.libraries.freeImage.freeImage.FITMO_DRAGO03
sibl_gui.libraries.freeImage.freeImage.FITMO_REINHARD05
sibl_gui.libraries.freeImage.freeImage.FITMO_FATTAL02
sibl_gui.libraries.freeImage.freeImage.FITMO_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_FILTER
sibl_gui.libraries.freeImage.freeImage.FILTER_BOX
sibl_gui.libraries.freeImage.freeImage.FILTER_BICUBIC
sibl_gui.libraries.freeImage.freeImage.FILTER_BILINEAR
sibl_gui.libraries.freeImage.freeImage.FILTER_BSPLINE
sibl_gui.libraries.freeImage.freeImage.FILTER_CATMULLROM
sibl_gui.libraries.freeImage.freeImage.FILTER_LANCZOS3
sibl_gui.libraries.freeImage.freeImage.FILTER_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_COLOR_CHANNEL
sibl_gui.libraries.freeImage.freeImage.FICC_RGB
sibl_gui.libraries.freeImage.freeImage.FICC_RED
sibl_gui.libraries.freeImage.freeImage.FICC_GREEN
sibl_gui.libraries.freeImage.freeImage.FICC_BLUE
sibl_gui.libraries.freeImage.freeImage.FICC_ALPHA
sibl_gui.libraries.freeImage.freeImage.FICC_BLACK
sibl_gui.libraries.freeImage.freeImage.FICC_REAL
sibl_gui.libraries.freeImage.freeImage.FICC_IMAG
sibl_gui.libraries.freeImage.freeImage.FICC_MAG
sibl_gui.libraries.freeImage.freeImage.FICC_PHASE
sibl_gui.libraries.freeImage.freeImage.FICC_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_MDTYPE
sibl_gui.libraries.freeImage.freeImage.FIDT_NOTYPE
sibl_gui.libraries.freeImage.freeImage.FIDT_BYTE
sibl_gui.libraries.freeImage.freeImage.FIDT_ASCII
sibl_gui.libraries.freeImage.freeImage.FIDT_SHORT
sibl_gui.libraries.freeImage.freeImage.FIDT_LONG
sibl_gui.libraries.freeImage.freeImage.FIDT_RATIONAL
sibl_gui.libraries.freeImage.freeImage.FIDT_SBYTE
sibl_gui.libraries.freeImage.freeImage.FIDT_UNDEFINED
sibl_gui.libraries.freeImage.freeImage.FIDT_SSHORT
sibl_gui.libraries.freeImage.freeImage.FIDT_SLONG
sibl_gui.libraries.freeImage.freeImage.FIDT_SRATIONAL
sibl_gui.libraries.freeImage.freeImage.FIDT_FLOAT
sibl_gui.libraries.freeImage.freeImage.FIDT_DOUBLE
sibl_gui.libraries.freeImage.freeImage.FIDT_IFD
sibl_gui.libraries.freeImage.freeImage.FIDT_PALETTE
sibl_gui.libraries.freeImage.freeImage.FIDT_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FREE_IMAGE_MDMODEL
sibl_gui.libraries.freeImage.freeImage.FIMD_NODATA
sibl_gui.libraries.freeImage.freeImage.FIMD_COMMENTS
sibl_gui.libraries.freeImage.freeImage.FIMD_EXIF_MAIN
sibl_gui.libraries.freeImage.freeImage.FIMD_EXIF_EXIF
sibl_gui.libraries.freeImage.freeImage.FIMD_EXIF_GPS
sibl_gui.libraries.freeImage.freeImage.FIMD_EXIF_MAKERNOTE
sibl_gui.libraries.freeImage.freeImage.FIMD_EXIF_INTEROP
sibl_gui.libraries.freeImage.freeImage.FIMD_IPTC
sibl_gui.libraries.freeImage.freeImage.FIMD_XMP
sibl_gui.libraries.freeImage.freeImage.FIMD_GEOTIFF
sibl_gui.libraries.freeImage.freeImage.FIMD_ANIMATION
sibl_gui.libraries.freeImage.freeImage.FIMD_CUSTOM
sibl_gui.libraries.freeImage.freeImage.FIMD_EXIF_RAW
sibl_gui.libraries.freeImage.freeImage.FIMD_LOOKUP
sibl_gui.libraries.freeImage.freeImage.fi_handle
sibl_gui.libraries.freeImage.freeImage.FI_ReadProc
sibl_gui.libraries.freeImage.freeImage.FI_WriteProc
sibl_gui.libraries.freeImage.freeImage.FI_SeekProc
sibl_gui.libraries.freeImage.freeImage.FI_TellProc
sibl_gui.libraries.freeImage.freeImage.FI_FormatProc
sibl_gui.libraries.freeImage.freeImage.FI_DescriptionProc
sibl_gui.libraries.freeImage.freeImage.FI_ExtensionListProc
sibl_gui.libraries.freeImage.freeImage.FI_RegExprProc
sibl_gui.libraries.freeImage.freeImage.FI_OpenProc
sibl_gui.libraries.freeImage.freeImage.FI_CloseProc
sibl_gui.libraries.freeImage.freeImage.FI_PageCountProc
sibl_gui.libraries.freeImage.freeImage.FI_PageCapabilityProc
sibl_gui.libraries.freeImage.freeImage.FI_LoadProc
sibl_gui.libraries.freeImage.freeImage.FI_SaveProc
sibl_gui.libraries.freeImage.freeImage.FI_ValidateProc
sibl_gui.libraries.freeImage.freeImage.FI_MimeProc
sibl_gui.libraries.freeImage.freeImage.FI_SupportsExportBPPProc
sibl_gui.libraries.freeImage.freeImage.FI_SupportsExportTypeProc
sibl_gui.libraries.freeImage.freeImage.FI_SupportsICCProfilesProc
sibl_gui.libraries.freeImage.freeImage.FI_SupportsNoPixelsProc
sibl_gui.libraries.freeImage.freeImage.FI_InitProc
sibl_gui.libraries.freeImage.freeImage.FIF_LOAD_NOPIXELS
sibl_gui.libraries.freeImage.freeImage.BMP_DEFAULT
sibl_gui.libraries.freeImage.freeImage.BMP_SAVE_RLE
sibl_gui.libraries.freeImage.freeImage.CUT_DEFAULT
sibl_gui.libraries.freeImage.freeImage.DDS_DEFAULT
sibl_gui.libraries.freeImage.freeImage.EXR_DEFAULT
sibl_gui.libraries.freeImage.freeImage.EXR_FLOAT
sibl_gui.libraries.freeImage.freeImage.EXR_NONE
sibl_gui.libraries.freeImage.freeImage.EXR_ZIP
sibl_gui.libraries.freeImage.freeImage.EXR_PIZ
sibl_gui.libraries.freeImage.freeImage.EXR_PXR24
sibl_gui.libraries.freeImage.freeImage.EXR_B44
sibl_gui.libraries.freeImage.freeImage.EXR_LC
sibl_gui.libraries.freeImage.freeImage.FAXG3_DEFAULT
sibl_gui.libraries.freeImage.freeImage.GIF_DEFAULT
sibl_gui.libraries.freeImage.freeImage.GIF_LOAD256
sibl_gui.libraries.freeImage.freeImage.GIF_PLAYBACK
sibl_gui.libraries.freeImage.freeImage.HDR_DEFAULT
sibl_gui.libraries.freeImage.freeImage.ICO_DEFAULT
sibl_gui.libraries.freeImage.freeImage.ICO_MAKEALPHA
sibl_gui.libraries.freeImage.freeImage.IFF_DEFAULT
sibl_gui.libraries.freeImage.freeImage.J2K_DEFAULT
sibl_gui.libraries.freeImage.freeImage.JP2_DEFAULT
sibl_gui.libraries.freeImage.freeImage.JPEG_DEFAULT
sibl_gui.libraries.freeImage.freeImage.JPEG_FAST
sibl_gui.libraries.freeImage.freeImage.JPEG_ACCURATE
sibl_gui.libraries.freeImage.freeImage.JPEG_CMYK
sibl_gui.libraries.freeImage.freeImage.JPEG_EXIFROTATE
sibl_gui.libraries.freeImage.freeImage.JPEG_QUALITYSUPERB
sibl_gui.libraries.freeImage.freeImage.JPEG_QUALITYGOOD
sibl_gui.libraries.freeImage.freeImage.JPEG_QUALITYNORMAL
sibl_gui.libraries.freeImage.freeImage.JPEG_QUALITYAVERAGE
sibl_gui.libraries.freeImage.freeImage.JPEG_QUALITYBAD
sibl_gui.libraries.freeImage.freeImage.JPEG_PROGRESSIVE
sibl_gui.libraries.freeImage.freeImage.JPEG_SUBSAMPLING_411
sibl_gui.libraries.freeImage.freeImage.JPEG_SUBSAMPLING_420
sibl_gui.libraries.freeImage.freeImage.JPEG_SUBSAMPLING_422
sibl_gui.libraries.freeImage.freeImage.JPEG_SUBSAMPLING_444
sibl_gui.libraries.freeImage.freeImage.JPEG_OPTIMIZE
sibl_gui.libraries.freeImage.freeImage.JPEG_BASELINE
sibl_gui.libraries.freeImage.freeImage.KOALA_DEFAULT
sibl_gui.libraries.freeImage.freeImage.LBM_DEFAULT
sibl_gui.libraries.freeImage.freeImage.MNG_DEFAULT
sibl_gui.libraries.freeImage.freeImage.PCD_DEFAULT
sibl_gui.libraries.freeImage.freeImage.PCD_BASE
sibl_gui.libraries.freeImage.freeImage.PCD_BASEDIV4
sibl_gui.libraries.freeImage.freeImage.PCD_BASEDIV16
sibl_gui.libraries.freeImage.freeImage.PCX_DEFAULT
sibl_gui.libraries.freeImage.freeImage.PFM_DEFAULT
sibl_gui.libraries.freeImage.freeImage.PICT_DEFAULT
sibl_gui.libraries.freeImage.freeImage.PNG_DEFAULT
sibl_gui.libraries.freeImage.freeImage.PNG_IGNOREGAMMA
sibl_gui.libraries.freeImage.freeImage.PNG_Z_BEST_SPEED
sibl_gui.libraries.freeImage.freeImage.PNG_Z_DEFAULT_COMPRESSION
sibl_gui.libraries.freeImage.freeImage.PNG_Z_BEST_COMPRESSION
sibl_gui.libraries.freeImage.freeImage.PNG_Z_NO_COMPRESSION
sibl_gui.libraries.freeImage.freeImage.PNG_INTERLACED
sibl_gui.libraries.freeImage.freeImage.PNM_DEFAULT
sibl_gui.libraries.freeImage.freeImage.PNM_SAVE_RAW
sibl_gui.libraries.freeImage.freeImage.PNM_SAVE_ASCII
sibl_gui.libraries.freeImage.freeImage.PSD_DEFAULT
sibl_gui.libraries.freeImage.freeImage.PSD_CMYK
sibl_gui.libraries.freeImage.freeImage.PSD_LAB
sibl_gui.libraries.freeImage.freeImage.RAS_DEFAULT
sibl_gui.libraries.freeImage.freeImage.RAW_DEFAULT
sibl_gui.libraries.freeImage.freeImage.RAW_PREVIEW
sibl_gui.libraries.freeImage.freeImage.RAW_DISPLAY
sibl_gui.libraries.freeImage.freeImage.RAW_HALFSIZE
sibl_gui.libraries.freeImage.freeImage.SGI_DEFAULT
sibl_gui.libraries.freeImage.freeImage.TARGA_DEFAULT
sibl_gui.libraries.freeImage.freeImage.TARGA_LOAD_RGB888
sibl_gui.libraries.freeImage.freeImage.TIFF_DEFAULT
sibl_gui.libraries.freeImage.freeImage.TIFF_CMYK
sibl_gui.libraries.freeImage.freeImage.TIFF_PACKBITS
sibl_gui.libraries.freeImage.freeImage.TIFF_DEFLATE
sibl_gui.libraries.freeImage.freeImage.TIFF_ADOBE_DEFLATE
sibl_gui.libraries.freeImage.freeImage.TIFF_NONE
sibl_gui.libraries.freeImage.freeImage.TIFF_CCITTFAX3
sibl_gui.libraries.freeImage.freeImage.TIFF_CCITTFAX4
sibl_gui.libraries.freeImage.freeImage.TIFF_LZW
sibl_gui.libraries.freeImage.freeImage.TIFF_JPEG
sibl_gui.libraries.freeImage.freeImage.TIFF_LOGLUV
sibl_gui.libraries.freeImage.freeImage.WBMP_DEFAULT
sibl_gui.libraries.freeImage.freeImage.XBM_DEFAULT
sibl_gui.libraries.freeImage.freeImage.XPM_DEFAULT
sibl_gui.libraries.freeImage.freeImage.FI_COLOR_IS_RGB_COLOR
sibl_gui.libraries.freeImage.freeImage.FI_COLOR_IS_RGBA_COLOR
sibl_gui.libraries.freeImage.freeImage.FI_COLOR_FIND_EQUAL_COLOR
sibl_gui.libraries.freeImage.freeImage.FI_COLOR_ALPHA_IS_INDEX
sibl_gui.libraries.freeImage.freeImage.FI_COLOR_PALETTE_SEARCH_MASK
sibl_gui.libraries.freeImage.freeImage.FI_COLOR_LOOKUP
sibl_gui.libraries.freeImage.freeImage.BPP_1
sibl_gui.libraries.freeImage.freeImage.BPP_4
sibl_gui.libraries.freeImage.freeImage.BPP_8
sibl_gui.libraries.freeImage.freeImage.BPP_16
sibl_gui.libraries.freeImage.freeImage.BPP_24
sibl_gui.libraries.freeImage.freeImage.BPP_32
sibl_gui.libraries.freeImage.freeImage.BPP_48
sibl_gui.libraries.freeImage.freeImage.BPP_64
sibl_gui.libraries.freeImage.freeImage.BPP_96
sibl_gui.libraries.freeImage.freeImage.BPP_1TO8
sibl_gui.libraries.freeImage.freeImage.BPP_16TO32
sibl_gui.libraries.freeImage.freeImage.BPP_1TO32
sibl_gui.libraries.freeImage.freeImage.BPP_1TO48
sibl_gui.libraries.freeImage.freeImage.BPP_LOOKUP
sibl_gui.libraries.freeImage.freeImage.CPC_8
sibl_gui.libraries.freeImage.freeImage.CPC_16
sibl_gui.libraries.freeImage.freeImage.CPC_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FI_DEFAULT_NULL
sibl_gui.libraries.freeImage.freeImage.FI_DEFAULT_GAMMA
sibl_gui.libraries.freeImage.freeImage.FI_DEFAULT_LOOKUP
sibl_gui.libraries.freeImage.freeImage.FreeImage_OutputMessageFunctionStdCall
sibl_gui.libraries.freeImage.freeImage.FreeImage_OutputMessageFunction
sibl_gui.libraries.freeImage.freeImage.FREEIMAGE_FUNCTIONS

6.142.2. Functions

sibl_gui.libraries.freeImage.freeImage.pointer(data)[source]

Converts None to a real NULL pointer to work around bugs in how ctypes handles None on 64-bit platforms.

Parameters:data (object) – Data .
Returns:Pointer.
Return type:POINTER
sibl_gui.libraries.freeImage.freeImage.unchecked(type)[source]

Ensures that all callbacks return primitive datatypes.

As of ctypes 1.0, ctypes does not support custom error-checking functions on callbacks, nor does it support custom datatypes on callbacks, so we must ensure that all callbacks return primitive datatypes. Non-primitive return values wrapped with unchecked won’t be typechecked, and will be converted to c_void_p.

Parameters:type (object) – Type .
Returns:Type.
Return type:object
sibl_gui.libraries.freeImage.freeImage.getFreeImageLibraryPath()[source]

Returns the FreeImage library path.

Returns:FreeImage library path.
Return type:unicode

6.142.3. Classes

class sibl_gui.libraries.freeImage.freeImage.FIBITMAP[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage FIBITMAP C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.FIMULTIBITMAP[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage FIMULTIBITMAP C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.tagRGBQUAD[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage tagRGBQUAD C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.tagRGBTRIPLE[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage tagRGBTRIPLE C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.tagBITMAPINFOHEADER[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage tagBITMAPINFOHEADER C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.tagBITMAPINFO[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage tagBITMAPINFO C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.tagFIRGB16[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage tagFIRGB16 C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.tagFIRGBA16[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage tagFIRGBA16 C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.tagFIRGBF[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage tagFIRGBF C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.tagFIRGBAF[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage tagFIRGBAF C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.tagFICOMPLEX[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage tagFICOMPLEX C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.FIICCPROFILE[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage FIICCPROFILE C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.FIMETADATA[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage FIMETADATA C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.FITAG[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage FITAG C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.FreeImageIO[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage FreeImageIO C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.FIMEMORY[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage FIMEMORY C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.Plugin[source]

Bases: _ctypes.Structure

Defines a ctypes.Structure subclass representing FreeImage Plugin C / C++ object.

class sibl_gui.libraries.freeImage.freeImage.ImageInformationsHeader(**kwargs)[source]

Bases: foundations.dataStructures.Structure

Defines a storage object for image informations header.

Initializes the class.

Parameters:kwargs (dict) – path, width, height, bpp, osStats.
class sibl_gui.libraries.freeImage.freeImage.Image(imagePath=None)[source]

Bases: object

Defines various methods to manipulate images files.

Initializes the class.

Parameters:imagePath (unicode) – Image path.
library[source]

Property for self.__library attribute.

Returns:self.__library.
Return type:Library
errorsCallback[source]

Property for self.__errorsCallback attribute.

Returns:self.__errorsCallback.
Return type:object
imagePath[source]

Property for self.__imagePath attribute.

Returns:self.__imagePath.
Return type:unicode
bitmap[source]

Property for self.__bitmap attribute.

Returns:self.__bitmap.
Return type:object
getImageFormat(imagePath=None)[source]

Gets the file format.

Parameters:imagePath (unicode) – Image path.
Returns:File format.
Return type:FREE_IMAGE_FORMAT
load()[source]

Loads the file.

Returns:Method success.
Return type:bool
save()[source]

Saves the file.

Returns:Method success.
Return type:bool
saveAs(imageFormat, imagePath, flags=0)[source]

Saves the image to the given file.

Parameters:
  • imageFormat (int) – Image format.
  • imagePath (unicode) – Image path.
  • flags (int) – Save flags.
Returns:

Method success.

Return type:

bool

convertToType(targetType, linearScale=True)[source]

Converts the bitmap to given type.

Parameters:
  • targetType (int) – Target type.
  • linearScale (bool) – Linear scale.
Returns:

Method success.

Return type:

bool

convertToLdr(gamma=2.2)[source]

Converts the HDR bitmap to LDR.

Parameters:gamma (float) – Image conversion gamma.
Returns:Method success.
Return type:bool
convertToQImage()[source]

Converts the bitmap to QImage.

Returns:Converted image.
Return type:QImage