Concept Framework 1.0 documentation Contents | Index

win32.graph.freeimage

Static library name Version Deprecated
win32.graph.freeimage version 1.0 no

Import library : win32.graph.freeimage
(you must include this at the top of your source: "import win32.graph.freeimage" (no quotes)


Description:
Image processing library based on FreeImage.

Note: Not all the functions are wrapped - only the basic functionality is provided. You are welcome to wrap the rest of the functions.

More functions will be added soon.

FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications. FreeImage is easy to use, fast, multithreading safe, compatible with all 32-bit versions of Windows, and cross-platform (works both with Linux and Mac OS X).


Contained static functions:
FreeImage_Allocate If you want to create a new bitmap in memory from scratch, without loading a pre-made bitmap from disc, you use this function
FreeImage_AllocateT While most imaging applications only deal with photographic images, many scientific applications need to deal with high resolution images (e
FreeImage_Clone Make an exact reproduction of an existing bitmap, including metadata and attached profile if any
FreeImage_DeInitialise This function is called automatically to deinitialize the FreeImage library
FreeImage_GetBPP Get the size of one pixel in the bitmap in bits
FreeImage_GetBlueMask Gets a bit pattern describing the blue color component of a pixel in a FIBITMAP
FreeImage_GetColorType Investigate the color type of the bitmap by reading the bitmap's pixel bits and analyzing them
FreeImage_GetColorsUsed Get the number of colors used by the bitmap
FreeImage_GetCopyrightMessage Get the standard copyright message for FreeImage
FreeImage_GetDIBSize Get the size of the DIB-element of a FIBITMAP in memory
FreeImage_GetDotsPerMeterX Get the horizontal resolution, in pixels-per-meter, of the target device for the bitmap
FreeImage_GetDotsPerMeterY Get the vertical resolution, in pixels-per-meter, of the target device for the bitmap
FreeImage_GetGreenMask Gets a bit pattern describing the green color component of a pixel in a FIBITMAP
FreeImage_GetHeight Get the height of the bitmap in pixel units
FreeImage_GetImageType Get the data type of a bitmap
FreeImage_GetLine Get the width of the bitmap in bytes
FreeImage_GetPitch Get the width of the bitmap in bytes, rounded to the next 32-bit boundary, also known as pitch or stride or scan width
FreeImage_GetRedMask Gets a bit pattern describing the red color component of a pixel in a FIBITMAP
FreeImage_GetTransparencyCount Get the number of transparent colors in a palletised bitmap
FreeImage_GetVersion Get the current library version
FreeImage_GetWidth Get the width of the bitmap in pixel units
FreeImage_HasBackgroundColor Check if the image has a background color
FreeImage_Initialise This function is called automatically to initialize the FreeImage library
FreeImage_IsTransparent Check is the transparency table is enabled
FreeImage_Load This function decodes a bitmap, allocates memory for it and then returns it as a FIBITMAP
FreeImage_Rescale This function performs resampling (or scaling, zooming) of a greyscale or RGB(A) image to the desired destination width and height
FreeImage_Save This function saves a previously loaded FIBITMAP to a file
FreeImage_SetDotsPerMeterX Set the horizontal resolution, in pixels-per-meter, of the target device for the bitmap
FreeImage_SetDotsPerMeterY Set the vertical resolution, in pixels-per-meter, of the target device for the bitmap
FreeImage_SetPixelColor Set the pixel color of a 16-, 24- or 32-bit image at position (x, y), including range check (slow access)
FreeImage_SetTransparent Tells FreeImage if it should make use of the transparency table or the alpha channel that may accompany a bitmap
FreeImage_Unload Deletes a previously loaded FIBITMAP from memory




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