Package FreeImagePy :: Module constants
[show private | hide private]
[frames | no frames]

Module FreeImagePy.constants

Classes
FIBITMAP  
FIMETADATA  
FIPoint A class used for store a point information
FISize A class used for store width and height bitmap informations
FITAG  
FreeImageIO  
PBITMAPINFOHEADER  
RGBQUAD  

Exceptions
AutomaticDepthChange Warning shown when I change the bitmap depth into another BPP
FreeImagePy_ColorWrong Exception raised then a function receive a wrong color depth
FreeImagePy_LibraryNotFound Exception raised then I don't found the library
FunctionNotFound Warning shown when I not found a library function
IOAttributeError IO operation won't wrok
TypeNotFound Warning shown when I not found the type passed into the type's list

Variable Summary
int BMP_DEFAULT = 0                                                                     
int BMP_SAVE_RLE = 1                                                                     
int COL_1 = 1                                                                     
int COL_16 = 16                                                                    
tuple COL_16TO32 = (16, 24, 32)
tuple COL_1TO32 = (1, 4, 8, 16, 24, 32)
tuple COL_1TO48 = (1, 4, 8, 16, 24, 32, 48)
tuple COL_1TO8 = (1, 4, 8)
int COL_24 = 24                                                                    
int COL_32 = 32                                                                    
int COL_4 = 4                                                                     
int COL_48 = 48                                                                    
int COL_64 = 64                                                                    
int COL_8 = 8                                                                     
int COL_96 = 96                                                                    
dict COL_To_PIL = {8: 'L', 1: '1', 24: 'RGB', 32: 'RGBA'}
int CUT_DEFAULT = 0                                                                     
int DDS_DEFAULT = 0                                                                     
dict extToType = {'jpeggo': (2, 256, '.jpg'), 'tiff': (18, 0,...
int FIC_CMYK = 5                                                                     
int FIC_MINISBLACK = 1                                                                     
int FIC_MINISWHITE = 0                                                                     
int FIC_PALETTE = 3                                                                     
int FIC_RGB = 2                                                                     
int FIC_RGBALPHA = 4                                                                     
int FICC_ALPHA = 4                                                                     
int FICC_BLACK = 5                                                                     
int FICC_BLUE = 3                                                                     
int FICC_GREEN = 2                                                                     
int FICC_IMAG = 7                                                                     
int FICC_MAG = 8                                                                     
int FICC_PHASE = 9                                                                     
int FICC_REAL = 6                                                                     
int FICC_RED = 1                                                                     
int FICC_RGB = 0                                                                     
dict FICTotype = {0: 'MINISWHITE', 1: 'MINISBLACK', 2: 'RGB',...
int FID_BAYER4x4 = 1                                                                     
int FID_BAYER8x8 = 2                                                                     
int FID_CLUSTER16x16 = 5                                                                     
int FID_CLUSTER6x6 = 3                                                                     
int FID_CLUSTER8x8 = 4                                                                     
int FID_FS = 0                                                                     
dict FIDT__LIST = {0: <class 'ctypes.c_void_p'>, 1: <class 'c...
int FIF_BMP = 0                                                                     
int FIF_CUT = 21                                                                    
int FIF_DDS = 24                                                                    
int FIF_FAXG3 = 27                                                                    
int FIF_GIF = 25                                                                    
int FIF_HDR = 26                                                                    
int FIF_ICO = 1                                                                     
int FIF_IFF = 5                                                                     
int FIF_JNG = 3                                                                     
int FIF_JPEG = 2                                                                     
int FIF_KOALA = 4                                                                     
int FIF_LBM = 5                                                                     
int FIF_MNG = 6                                                                     
tuple FIF_MUTLIPAGE = (18, 1, 25)
int FIF_PBM = 7                                                                     
int FIF_PBMRAW = 8                                                                     
int FIF_PCD = 9                                                                     
int FIF_PCX = 10                                                                    
int FIF_PGM = 11                                                                    
int FIF_PGMRAW = 12                                                                    
int FIF_PNG = 13                                                                    
int FIF_PPM = 14                                                                    
int FIF_PPMRAW = 15                                                                    
int FIF_PSD = 20                                                                    
int FIF_RAS = 16                                                                    
int FIF_SGI = 28                                                                    
int FIF_TARGA = 17                                                                    
int FIF_TIFF = 18                                                                    
int FIF_UNKNOWN = -1                                                                    
int FIF_WBMP = 19                                                                    
int FIF_XBM = 22                                                                    
int FIF_XPM = 23                                                                    
dict FIFTotype = {0: 'BMP', 1: 'ICO', 2: 'JPEG', 3: 'JNG', 4:...
int FILTER_BICUBIC = 1                                                                     
int FILTER_BILINEAR = 2                                                                     
int FILTER_BOX = 0                                                                     
int FILTER_BSPLINE = 3                                                                     
int FILTER_CATMULLROM = 4                                                                     
int FILTER_LANCZOS3 = 5                                                                     
dict FIMD__METALIST = {'FIMD_EXIF_EXIF': 2, 'FIMD_ANIMATION':...
int FIMD_ANIMATION = 9                                                                     
int FIMD_COMMENTS = 0                                                                     
int FIMD_CUSTOM = 10                                                                    
int FIMD_EXIF_EXIF = 2                                                                     
int FIMD_EXIF_GPS = 3                                                                     
int FIMD_EXIF_INTEROP = 5                                                                     
int FIMD_EXIF_MAIN = 1                                                                     
int FIMD_EXIF_MAKERNOTE = 4                                                                     
int FIMD_GEOTIFF = 8                                                                     
int FIMD_IPTC = 6                                                                     
int FIMD_NODATA = -1                                                                    
int FIMD_XMP = 7                                                                     
int FIQ_NNQUANT = 1                                                                     
int FIQ_WUQUANT = 0                                                                     
int FIT_BITMAP = 1                                                                     
int FIT_COMPLEX = 8                                                                     
int FIT_DOUBLE = 7                                                                     
int FIT_FLOAT = 6                                                                     
int FIT_INT16 = 3                                                                     
int FIT_INT32 = 5                                                                     
int FIT_RGB16 = 9                                                                     
int FIT_RGBA16 = 10                                                                    
int FIT_RGBAF = 12                                                                    
int FIT_RGBF = 11                                                                    
int FIT_UINT16 = 2                                                                     
int FIT_UINT32 = 4                                                                     
int FIT_UNKNOWN = 0                                                                     
int GIF_DEFAULT = 0                                                                     
int GIF_LOAD256 = 1                                                                     
int GIF_PLAYBACK = 2                                                                     
int HDR_DEFAULT = 0                                                                     
int ICO_DEFAULT = 0                                                                     
int ICO_MAKEALPHA = 1                                                                     
int IFF_DEFAULT = 0                                                                     
int JPEG_ACCURATE = 2                                                                     
int JPEG_CMYK = 4096                                                                  
int JPEG_DEFAULT = 0                                                                     
int JPEG_FAST = 1                                                                     
int JPEG_PROGRESSIVE = 8192                                                                  
int JPEG_QUALITYAVERAGE = 1024                                                                  
int JPEG_QUALITYBAD = 2048                                                                  
int JPEG_QUALITYGOOD = 256                                                                   
int JPEG_QUALITYNORMAL = 512                                                                   
int JPEG_QUALITYSUPERB = 128                                                                   
int KOALA_DEFAULT = 0                                                                     
int LBM_DEFAULT = 0                                                                     
int LITTLEENDIAN = 1                                                                     
int MNG_DEFAULT = 0                                                                     
int PCD_BASE = 1                                                                     
int PCD_BASEDIV16 = 3                                                                     
int PCD_BASEDIV4 = 2                                                                     
int PCD_DEFAULT = 0                                                                     
int PCX_DEFAULT = 0                                                                     
int PNG_DEFAULT = 0                                                                     
int PNG_IGNOREGAMMA = 1                                                                     
int PNM_DEFAULT = 0                                                                     
int PNM_SAVE_ASCII = 1                                                                     
int PNM_SAVE_RAW = 0                                                                     
int PSD_DEFAULT = 0                                                                     
int RAS_DEFAULT = 0                                                                     
int TARGA_DEFAULT = 0                                                                     
int TARGA_LOAD_RGB888 = 1                                                                     
int TIFF_ADOBE_DEFLATE = 1024                                                                  
int TIFF_CCITTFAX3 = 4096                                                                  
int TIFF_CCITTFAX4 = 8192                                                                  
int TIFF_CMYK = 1                                                                     
int TIFF_DEFAULT = 0                                                                     
int TIFF_DEFLATE = 512                                                                   
int TIFF_JPEG = 32768                                                                 
int TIFF_LZW = 16384                                                                 
int TIFF_NONE = 2048                                                                  
int TIFF_PACKBITS = 256                                                                   
int WBMP_DEFAULT = 0                                                                     
int XBM_DEFAULT = 0                                                                     

Variable Details

BMP_DEFAULT

Type:
int
Value:
0                                                                     

BMP_SAVE_RLE

Type:
int
Value:
1                                                                     

COL_1

Type:
int
Value:
1                                                                     

COL_16

Type:
int
Value:
16                                                                    

COL_16TO32

Type:
tuple
Value:
(16, 24, 32)                                                           

COL_1TO32

Type:
tuple
Value:
(1, 4, 8, 16, 24, 32)                                                  

COL_1TO48

Type:
tuple
Value:
(1, 4, 8, 16, 24, 32, 48)                                              

COL_1TO8

Type:
tuple
Value:
(1, 4, 8)                                                              

COL_24

Type:
int
Value:
24                                                                    

COL_32

Type:
int
Value:
32                                                                    

COL_4

Type:
int
Value:
4                                                                     

COL_48

Type:
int
Value:
48                                                                    

COL_64

Type:
int
Value:
64                                                                    

COL_8

Type:
int
Value:
8                                                                     

COL_96

Type:
int
Value:
96                                                                    

COL_To_PIL

Type:
dict
Value:
{8: 'L', 1: '1', 24: 'RGB', 32: 'RGBA'}                                

CUT_DEFAULT

Type:
int
Value:
0                                                                     

DDS_DEFAULT

Type:
int
Value:
0                                                                     

extToType

Type:
dict
Value:
{'bmp': (0, 0, '.bmp'),
 'gif': (25, 0, '.gif'),
 'ico': (1, 0, '.ico'),
 'jpeg': (2, 0, '.jpg'),
 'jpegac': (2, 2, '.jpg'),
 'jpegav': (2, 1024, '.jpg'),
 'jpegba': (2, 2048, '.jpg'),
 'jpegfa': (2, 1, '.jpg'),
...                                                                    

FIC_CMYK

Type:
int
Value:
5                                                                     

FIC_MINISBLACK

Type:
int
Value:
1                                                                     

FIC_MINISWHITE

Type:
int
Value:
0                                                                     

FIC_PALETTE

Type:
int
Value:
3                                                                     

FIC_RGB

Type:
int
Value:
2                                                                     

FIC_RGBALPHA

Type:
int
Value:
4                                                                     

FICC_ALPHA

Type:
int
Value:
4                                                                     

FICC_BLACK

Type:
int
Value:
5                                                                     

FICC_BLUE

Type:
int
Value:
3                                                                     

FICC_GREEN

Type:
int
Value:
2                                                                     

FICC_IMAG

Type:
int
Value:
7                                                                     

FICC_MAG

Type:
int
Value:
8                                                                     

FICC_PHASE

Type:
int
Value:
9                                                                     

FICC_REAL

Type:
int
Value:
6                                                                     

FICC_RED

Type:
int
Value:
1                                                                     

FICC_RGB

Type:
int
Value:
0                                                                     

FICTotype

Type:
dict
Value:
{0: 'MINISWHITE',
 1: 'MINISBLACK',
 2: 'RGB',
 3: 'PALETTE',
 4: 'RGBALPHA',
 5: 'CMYK'}                                                            

FID_BAYER4x4

Type:
int
Value:
1                                                                     

FID_BAYER8x8

Type:
int
Value:
2                                                                     

FID_CLUSTER16x16

Type:
int
Value:
5                                                                     

FID_CLUSTER6x6

Type:
int
Value:
3                                                                     

FID_CLUSTER8x8

Type:
int
Value:
4                                                                     

FID_FS

Type:
int
Value:
0                                                                     

FIDT__LIST

Type:
dict
Value:
{0: <class 'ctypes.c_void_p'>,
 1: <class 'ctypes.c_ubyte'>,
 2: <class 'ctypes.c_char_p'>,
 3: <class 'ctypes.c_ushort'>,
 4: <class 'ctypes.c_ulong'>,
 5: <class 'ctypes.c_ulong'>,
 6: <class 'ctypes.c_short'>,
 7: <class 'ctypes.c_void_p'>,
...                                                                    

FIF_BMP

Type:
int
Value:
0                                                                     

FIF_CUT

Type:
int
Value:
21                                                                    

FIF_DDS

Type:
int
Value:
24                                                                    

FIF_FAXG3

Type:
int
Value:
27                                                                    

FIF_GIF

Type:
int
Value:
25                                                                    

FIF_HDR

Type:
int
Value:
26                                                                    

FIF_ICO

Type:
int
Value:
1                                                                     

FIF_IFF

Type:
int
Value:
5                                                                     

FIF_JNG

Type:
int
Value:
3                                                                     

FIF_JPEG

Type:
int
Value:
2                                                                     

FIF_KOALA

Type:
int
Value:
4                                                                     

FIF_LBM

Type:
int
Value:
5                                                                     

FIF_MNG

Type:
int
Value:
6                                                                     

FIF_MUTLIPAGE

Type:
tuple
Value:
(18, 1, 25)                                                            

FIF_PBM

Type:
int
Value:
7                                                                     

FIF_PBMRAW

Type:
int
Value:
8                                                                     

FIF_PCD

Type:
int
Value:
9                                                                     

FIF_PCX

Type:
int
Value:
10                                                                    

FIF_PGM

Type:
int
Value:
11                                                                    

FIF_PGMRAW

Type:
int
Value:
12                                                                    

FIF_PNG

Type:
int
Value:
13                                                                    

FIF_PPM

Type:
int
Value:
14                                                                    

FIF_PPMRAW

Type:
int
Value:
15                                                                    

FIF_PSD

Type:
int
Value:
20                                                                    

FIF_RAS

Type:
int
Value:
16                                                                    

FIF_SGI

Type:
int
Value:
28                                                                    

FIF_TARGA

Type:
int
Value:
17                                                                    

FIF_TIFF

Type:
int
Value:
18                                                                    

FIF_UNKNOWN

Type:
int
Value:
-1                                                                    

FIF_WBMP

Type:
int
Value:
19                                                                    

FIF_XBM

Type:
int
Value:
22                                                                    

FIF_XPM

Type:
int
Value:
23                                                                    

FIFTotype

Type:
dict
Value:
{-1: 'UNKNOWN',
 0: 'BMP',
 1: 'ICO',
 2: 'JPEG',
 3: 'JNG',
 4: 'KOALA',
 5: 'LBM | IFF',
 6: 'MNG',
...                                                                    

FILTER_BICUBIC

Type:
int
Value:
1                                                                     

FILTER_BILINEAR

Type:
int
Value:
2                                                                     

FILTER_BOX

Type:
int
Value:
0                                                                     

FILTER_BSPLINE

Type:
int
Value:
3                                                                     

FILTER_CATMULLROM

Type:
int
Value:
4                                                                     

FILTER_LANCZOS3

Type:
int
Value:
5                                                                     

FIMD__METALIST

Type:
dict
Value:
{'FIMD_ANIMATION': 9,
 'FIMD_COMMENTS': 0,
 'FIMD_CUSTOM': 10,
 'FIMD_EXIF_EXIF': 2,
 'FIMD_EXIF_GPS': 3,
 'FIMD_EXIF_INTEROP': 5,
 'FIMD_EXIF_MAIN': 1,
 'FIMD_EXIF_MAKERNOTE': 4,
...                                                                    

FIMD_ANIMATION

Type:
int
Value:
9                                                                     

FIMD_COMMENTS

Type:
int
Value:
0                                                                     

FIMD_CUSTOM

Type:
int
Value:
10                                                                    

FIMD_EXIF_EXIF

Type:
int
Value:
2                                                                     

FIMD_EXIF_GPS

Type:
int
Value:
3                                                                     

FIMD_EXIF_INTEROP

Type:
int
Value:
5                                                                     

FIMD_EXIF_MAIN

Type:
int
Value:
1                                                                     

FIMD_EXIF_MAKERNOTE

Type:
int
Value:
4                                                                     

FIMD_GEOTIFF

Type:
int
Value:
8                                                                     

FIMD_IPTC

Type:
int
Value:
6                                                                     

FIMD_NODATA

Type:
int
Value:
-1                                                                    

FIMD_XMP

Type:
int
Value:
7                                                                     

FIQ_NNQUANT

Type:
int
Value:
1                                                                     

FIQ_WUQUANT

Type:
int
Value:
0                                                                     

FIT_BITMAP

Type:
int
Value:
1                                                                     

FIT_COMPLEX

Type:
int
Value:
8                                                                     

FIT_DOUBLE

Type:
int
Value:
7                                                                     

FIT_FLOAT

Type:
int
Value:
6                                                                     

FIT_INT16

Type:
int
Value:
3                                                                     

FIT_INT32

Type:
int
Value:
5                                                                     

FIT_RGB16

Type:
int
Value:
9                                                                     

FIT_RGBA16

Type:
int
Value:
10                                                                    

FIT_RGBAF

Type:
int
Value:
12                                                                    

FIT_RGBF

Type:
int
Value:
11                                                                    

FIT_UINT16

Type:
int
Value:
2                                                                     

FIT_UINT32

Type:
int
Value:
4                                                                     

FIT_UNKNOWN

Type:
int
Value:
0                                                                     

GIF_DEFAULT

Type:
int
Value:
0                                                                     

GIF_LOAD256

Type:
int
Value:
1                                                                     

GIF_PLAYBACK

Type:
int
Value:
2                                                                     

HDR_DEFAULT

Type:
int
Value:
0                                                                     

ICO_DEFAULT

Type:
int
Value:
0                                                                     

ICO_MAKEALPHA

Type:
int
Value:
1                                                                     

IFF_DEFAULT

Type:
int
Value:
0                                                                     

JPEG_ACCURATE

Type:
int
Value:
2                                                                     

JPEG_CMYK

Type:
int
Value:
4096                                                                  

JPEG_DEFAULT

Type:
int
Value:
0                                                                     

JPEG_FAST

Type:
int
Value:
1                                                                     

JPEG_PROGRESSIVE

Type:
int
Value:
8192                                                                  

JPEG_QUALITYAVERAGE

Type:
int
Value:
1024                                                                  

JPEG_QUALITYBAD

Type:
int
Value:
2048                                                                  

JPEG_QUALITYGOOD

Type:
int
Value:
256                                                                   

JPEG_QUALITYNORMAL

Type:
int
Value:
512                                                                   

JPEG_QUALITYSUPERB

Type:
int
Value:
128                                                                   

KOALA_DEFAULT

Type:
int
Value:
0                                                                     

LBM_DEFAULT

Type:
int
Value:
0                                                                     

LITTLEENDIAN

Type:
int
Value:
1                                                                     

MNG_DEFAULT

Type:
int
Value:
0                                                                     

PCD_BASE

Type:
int
Value:
1                                                                     

PCD_BASEDIV16

Type:
int
Value:
3                                                                     

PCD_BASEDIV4

Type:
int
Value:
2                                                                     

PCD_DEFAULT

Type:
int
Value:
0                                                                     

PCX_DEFAULT

Type:
int
Value:
0                                                                     

PNG_DEFAULT

Type:
int
Value:
0                                                                     

PNG_IGNOREGAMMA

Type:
int
Value:
1                                                                     

PNM_DEFAULT

Type:
int
Value:
0                                                                     

PNM_SAVE_ASCII

Type:
int
Value:
1                                                                     

PNM_SAVE_RAW

Type:
int
Value:
0                                                                     

PSD_DEFAULT

Type:
int
Value:
0                                                                     

RAS_DEFAULT

Type:
int
Value:
0                                                                     

TARGA_DEFAULT

Type:
int
Value:
0                                                                     

TARGA_LOAD_RGB888

Type:
int
Value:
1                                                                     

TIFF_ADOBE_DEFLATE

Type:
int
Value:
1024                                                                  

TIFF_CCITTFAX3

Type:
int
Value:
4096                                                                  

TIFF_CCITTFAX4

Type:
int
Value:
8192                                                                  

TIFF_CMYK

Type:
int
Value:
1                                                                     

TIFF_DEFAULT

Type:
int
Value:
0                                                                     

TIFF_DEFLATE

Type:
int
Value:
512                                                                   

TIFF_JPEG

Type:
int
Value:
32768                                                                 

TIFF_LZW

Type:
int
Value:
16384                                                                 

TIFF_NONE

Type:
int
Value:
2048                                                                  

TIFF_PACKBITS

Type:
int
Value:
256                                                                   

WBMP_DEFAULT

Type:
int
Value:
0                                                                     

XBM_DEFAULT

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.1 on Fri Nov 17 12:52:34 2006 http://epydoc.sf.net