Concept Framework 1.0 documentation Contents | Index

win32.graph.freeimage.FreeImage_AllocateT

Name Version Deprecated
FreeImage_AllocateT version 1.0 no

Prototype:
number FreeImage_AllocateT(number type, number width, number height, number bpp, number red_mask, number green_mask, number blue_mask)


Description:
While most imaging applications only deal with photographic images, many scientific applications need to deal with high resolution images (e.g. 16-bit greyscale images), with real valued pixels or even with complex pixels (think for example about the result of a Fast Fourier Transform applied to a 8-bit greyscale image: the result is a complex image).
A special parameter, an enum named FREE_IMAGE_TYPE, is used to specify the bitmap type of a FIBITMAP.

Returns:
Returns a new image handle if succeeded, or null if failed.

Documented by Eduard Suica, generation time: Thu Oct 15 20:02:08 2009 GMT(c)2009 RadGs Software