FreeImage a free, open source graphics library Documentation Library version 3.13.1 Contents Introduction 1 Foreword ............................................................................................................................... 1 Purpose of FreeImage ........................................................................................................... 1 Library reference .................................................................................................................. 2 Bitmap function reference 3 General functions .................................................................................................................. 3 FreeImage_Initialise ............................................................................................... 3 FreeImage_DeInitialise .......................................................................................... 3 FreeImage_GetVersion .......................................................................................... 4 FreeImage_GetCopyrightMessage ......................................................................... 4 FreeImage_SetOutputMessage ............................................................................... 4 Bitmap management functions ............................................................................................. 5 FreeImage_Allocate ............................................................................................... 6 FreeImage_AllocateT ............................................................................................. 6 FreeImage_Load .................................................................................................... 7 FreeImage_LoadU .................................................................................................. 8 FreeImage_LoadFromHandle ................................................................................ 8 FreeImage_Save ..................................................................................................... 9 FreeImage_SaveU ................................................................................................ 11 FreeImage_SaveToHandle ................................................................................... 11 FreeImage_Clone ................................................................................................. 11 FreeImage_Unload ............................................................................................... 12 Bitmap information functions ............................................................................................. 13 FreeImage_GetImageType ................................................................................... 13 FreeImage_GetColorsUsed .................................................................................. 13 FreeImage_GetBPP .............................................................................................. 13 FreeImage_GetWidth ........................................................................................... 13 FreeImage_GetHeight .......................................................................................... 13 FreeImage_GetLine .............................................................................................. 14 FreeImage_GetPitch ............................................................................................. 14 FreeImage_GetDIBSize ....................................................................................... 14 FreeImage_GetPalette .......................................................................................... 14 FreeImage_GetDotsPerMeterX ............................................................................ 15 FreeImage_GetDotsPerMeterY ............................................................................ 15 FreeImage_SetDotsPerMeterX ............................................................................ 15 FreeImage_SetDotsPerMeterY ............................................................................ 15 FreeImage_GetInfoHeader ................................................................................... 15 FreeImage_GetInfo .............................................................................................. 15 FreeImage_GetColorType .................................................................................... 15 FreeImage_GetRedMask ...................................................................................... 16 FreeImage_GetGreenMask .................................................................................. 16 FreeImage_GetBlueMask ..................................................................................... 16 FreeImage_GetTransparencyCount ..................................................................... 17 FreeImage_GetTransparencyTable ...................................................................... 17 FreeImage_SetTransparencyTable ....................................................................... 17 FreeImage_SetTransparent .................................................................................. 18 FreeImage 3.13.1 documentation List of tables • i FreeImage_IsTransparent ..................................................................................... 18 FreeImage_SetTransparentIndex ......................................................................... 18 FreeImage_GetTransparentIndex ......................................................................... 19 FreeImage_HasBackgroundColor ........................................................................ 19 FreeImage_GetBackgroundColor ........................................................................ 19 FreeImage_SetBackgroundColor ......................................................................... 19 Filetype functions ............................................................................................................... 20 FreeImage_GetFileType ...................................................................................... 20 FreeImage_GetFileTypeU .................................................................................... 20 FreeImage_GetFileTypeFromHandle .................................................................. 21 FreeImage_GetFileTypeFromMemory ................................................................ 21 Pixel access functions ......................................................................................................... 22 FreeImage_GetBits .............................................................................................. 23 FreeImage_GetScanLine ...................................................................................... 24 FreeImage_GetPixelIndex .................................................................................... 26 FreeImage_GetPixelColor .................................................................................... 26 FreeImage_SetPixelIndex .................................................................................... 26 FreeImage_SetPixelColor .................................................................................... 27 Conversion functions .......................................................................................................... 28 FreeImage_ConvertTo4Bits ................................................................................. 28 FreeImage_ConvertTo8Bits ................................................................................. 28 FreeImage_ConvertToGreyscale ......................................................................... 28 FreeImage_ConvertTo16Bits555 ......................................................................... 29 FreeImage_ConvertTo16Bits565 ......................................................................... 29 FreeImage_ConvertTo24Bits ............................................................................... 29 FreeImage_ConvertTo32Bits ............................................................................... 29 FreeImage_ColorQuantize ................................................................................... 29 FreeImage_ColorQuantizeEx ............................................................................... 30 FreeImage_Threshold .......................................................................................... 32 FreeImage_Dither ................................................................................................ 32 FreeImage_ConvertFromRawBits ........................................................................ 32 FreeImage_ConvertToRawBits ............................................................................ 33 FreeImage_ConvertToStandardType ................................................................... 33 FreeImage_ConvertToType ................................................................................. 34 FreeImage_ConvertToRGBF ............................................................................... 34 Tone mapping operators ..................................................................................................... 35 FreeImage_ToneMapping .................................................................................... 35 FreeImage_TmoDrago03 ..................................................................................... 35 FreeImage_TmoReinhard05 ................................................................................ 36 FreeImage_TmoReinhard05Ex
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages120 Page
-
File Size-