Go to the source code of this file.
|
| FreeImage_Allocate ($width, $height, $bpp) |
|
| FreeImage_GetBits ($dib) |
|
| FreeImage_GetHeight ($bmp) |
|
| FreeImage_GetInfoHeader ($dib) |
|
if(!isset( $FI)) | FreeImage_GetVersion () |
|
| FreeImage_GetWidth ($bmp) |
|
| FreeImage_Load ($type, $filename, $flags=0) |
|
| FreeImage_Rescale ($dib, $dst_width, $dst_height, $filter=0) |
|
| FreeImage_Save ($type, $dib, $filename, $flags=0) |
|
| FreeImage_Unload ($bmp) |
|
◆ FreeImage_Allocate()
FreeImage_Allocate |
( |
| $width, |
|
|
| $height, |
|
|
| $bpp ) |
Definition at line 110 of file freeimage.inc.php.
111{
112 global $FI;
113 static $pfn = null;
114
115 if($pfn === null)
116 $pfn = wb_get_function_address("FreeImage_Allocate@24", $FI);
117 return wb_call_function($pfn, array($width, $height, $bpp, 0, 0, 0));
118}
◆ FreeImage_GetBits()
FreeImage_GetBits |
( |
| $dib | ) |
|
Definition at line 100 of file freeimage.inc.php.
101{
102 global $FI;
103 static $pfn = null;
104
105 if($pfn === null)
106 $pfn = wb_get_function_address("FreeImage_GetBits", $FI);
107 return wb_call_function($pfn, array($dib));
108}
◆ FreeImage_GetHeight()
FreeImage_GetHeight |
( |
| $bmp | ) |
|
Definition at line 140 of file freeimage.inc.php.
141{
142 global $FI;
143 static $pfn = null;
144
145 if($pfn === null)
146 $pfn = wb_get_function_address("FreeImage_GetHeight", $FI);
147 return wb_call_function($pfn, array($bmp));
148}
◆ FreeImage_GetInfoHeader()
FreeImage_GetInfoHeader |
( |
| $dib | ) |
|
Definition at line 90 of file freeimage.inc.php.
91{
92 global $FI;
93 static $pfn = null;
94
95 if($pfn === null)
96 $pfn = wb_get_function_address("FreeImage_GetInfoHeader", $FI);
97 return wb_call_function($pfn, array($dib));
98}
◆ FreeImage_GetVersion()
if(!isset($FI)) FreeImage_GetVersion |
( |
| ) |
|
Definition at line 76 of file freeimage.inc.php.
77{
78 global $FI;
79 static $pfn = null;
80
81 if($pfn === null)
82 $pfn = wb_get_function_address("FreeImage_GetVersion", $FI);
83
84
85
86 $version = wb_peek(wb_call_function($pfn));
87 return $version;
88}
◆ FreeImage_GetWidth()
FreeImage_GetWidth |
( |
| $bmp | ) |
|
Definition at line 130 of file freeimage.inc.php.
131{
132 global $FI;
133 static $pfn = null;
134
135 if($pfn === null)
136 $pfn = wb_get_function_address("FreeImage_GetWidth", $FI);
137 return wb_call_function($pfn, array($bmp));
138}
◆ FreeImage_Load()
FreeImage_Load |
( |
| $type, |
|
|
| $filename, |
|
|
| $flags = 0 ) |
Definition at line 150 of file freeimage.inc.php.
151{
152 global $FI;
153 static $pfn = null;
154
155 if($pfn === null)
156 $pfn = wb_get_function_address("FreeImage_Load", $FI);
157 return wb_call_function($pfn, array($type, $filename, $flags));
158}
◆ FreeImage_Rescale()
FreeImage_Rescale |
( |
| $dib, |
|
|
| $dst_width, |
|
|
| $dst_height, |
|
|
| $filter = 0 ) |
Definition at line 170 of file freeimage.inc.php.
171{
172 global $FI;
173 static $pfn = null;
174
175 if($pfn === null)
176 $pfn = wb_get_function_address("FreeImage_Rescale", $FI);
177 return wb_call_function($pfn, array($dib, $dst_width, $dst_height, $filter));
178}
◆ FreeImage_Save()
FreeImage_Save |
( |
| $type, |
|
|
| $dib, |
|
|
| $filename, |
|
|
| $flags = 0 ) |
Definition at line 160 of file freeimage.inc.php.
161{
162 global $FI;
163 static $pfn = null;
164
165 if($pfn === null)
166 $pfn = wb_get_function_address("FreeImage_Save", $FI);
167 return wb_call_function($pfn, array($type, $dib, $filename, $flags));
168}
◆ FreeImage_Unload()
Definition at line 120 of file freeimage.inc.php.
121{
122 global $FI;
123 static $pfn = null;
124
125 if($pfn === null)
126 $pfn = wb_get_function_address("FreeImage_Unload", $FI);
127 return wb_call_function($pfn, array($bmp));
128}
◆ FIF_BMP
◆ FIF_CUT
◆ FIF_DDS
◆ FIF_GIF
◆ FIF_ICO
◆ FIF_IFF
◆ FIF_JNG
◆ FIF_JPEG
◆ FIF_KOALA
◆ FIF_LBM
◆ FIF_MNG
◆ FIF_PBM
◆ FIF_PBMRAW
◆ FIF_PCD
◆ FIF_PCX
◆ FIF_PGM
◆ FIF_PGMRAW
◆ FIF_PNG
◆ FIF_PPM
◆ FIF_PPMRAW
◆ FIF_PSD
◆ FIF_RAS
◆ FIF_TARGA
◆ FIF_TIFF
◆ FIF_UNKNOWN
◆ FIF_WBMP
◆ FIF_XBM
◆ FIF_XPM