'--------------------------------------------------------------------------------
' FreeImage 3 VB6/VBA wrapper 
' List of public functions available
'--------------------------------------------------------------------------------

'--------------------------------------------------------------------------------
' Error handling functions
'--------------------------------------------------------------------------------
FreeImage_InitErrorHandler()


'--------------------------------------------------------------------------------
' String returning functions wrappers
'--------------------------------------------------------------------------------
FreeImage_GetVersion()
FreeImage_GetCopyrightMessage()
FreeImage_GetFormatFromFIF()
FreeImage_GetFIFExtensionList()
FreeImage_GetFIFDescription()
FreeImage_GetFIFRegExpr()
FreeImage_GetFIFMimeType()


'--------------------------------------------------------------------------------
' Extended functions derived from FreeImage 3 functions usually dealing
' with arrays
'--------------------------------------------------------------------------------
FreeImage_GetPaletteEx()
FreeImage_GetPaletteExClone()
FreeImage_GetPaletteExLong()
FreeImage_GetTransparencyTableEx()
FreeImage_SetTransparencyTableEx()
FreeImage_GetHistogramEx()
FreeImage_LoadFromMemoryEx()
FreeImage_SaveToMemoryEx()
FreeImage_SaveToMemoryEx2()
FreeImage_AcquireMemoryEx()


'--------------------------------------------------------------------------------
' Tag accessing VB friendly helper functions
'--------------------------------------------------------------------------------
FreeImage_TagFromPointer()


'--------------------------------------------------------------------------------
' Derived and hopefully useful functions
'--------------------------------------------------------------------------------
FreeImage_IsExtensionValidForFIF()
FreeImage_IsFilenameValidForFIF()
FreeImage_GetPrimaryExtensionFromFIF()
FreeImage_IsGreyscaleImage()
FreeImage_GetResolutionX()
FreeImage_SetResolutionX()
FreeImage_GetResolutionY()
FreeImage_SetResolutionY()
FreeImage_ConvertColorDepth()
FreeImage_RescaleEx()
FreeImage_RescaleByPixel()
FreeImage_RescaleByPercent()
FreeImage_RescaleByFactor()
FreeImage_PaintDC()
FreeImage_PaintDCEx()


'--------------------------------------------------------------------------------
' Pixel access functions
'--------------------------------------------------------------------------------
FreeImage_GetBitsEx()
FreeImage_GetScanLineEx()
FreeImage_GetScanLineBITMAP8()
FreeImage_GetScanLineBITMAP16()
FreeImage_GetScanLineBITMAP24()
FreeImage_GetScanLineBITMAP32()
FreeImage_GetScanLineINT16()
FreeImage_GetScanLineINT32()
FreeImage_GetScanLineFLOAT()
FreeImage_GetScanLineDOUBLE()
FreeImage_GetScanLineCOMPLEX()
FreeImage_GetScanLineRGB16()
FreeImage_GetScanLineRGBA16()
FreeImage_GetScanLineRGBF()
FreeImage_GetScanLineRGBAF()


'--------------------------------------------------------------------------------
' OlePicture conversion functions
'--------------------------------------------------------------------------------
FreeImage_GetOlePicture()
FreeImage_CreateFromOlePicture()
FreeImage_AdjustPictureBox()
AdjustPicture()
LoadPictureEx()
SavePictureEx()


'--------------------------------------------------------------------------------
' Compression functions wrappers
'--------------------------------------------------------------------------------
FreeImage_ZLibCompressEx()
FreeImage_ZLibUncompressEx()
FreeImage_ZLibGZipEx()
FreeImage_ZLibCRC32Ex()
FreeImage_ZLibGUnzipEx()
FreeImage_ZLibCompressVB()
FreeImage_ZLibUncompressVB()
FreeImage_ZLibGZipVB()
FreeImage_ZLibGUnzipVB()


'--------------------------------------------------------------------------------
' Public functions to destroy custom safearrays
'--------------------------------------------------------------------------------
FreeImage_DestroyLockedArray()
FreeImage_DestroyLockedArrayByPtr()
FreeImage_DestroyLockedArrayRGBTRIPLE()
FreeImage_DestroyLockedArrayRGBQUAD()
FreeImage_DestroyLockedArrayFICOMPLEX()
FreeImage_DestroyLockedArrayFIRGB16()
FreeImage_DestroyLockedArrayFIRGBA16()
FreeImage_DestroyLockedArrayFIRGBF()
FreeImage_DestroyLockedArrayFIRGBAF()