[ Home | Optimize | Current | Project | Tools | Made in France | F.A.Q | Forums | Links | Sources Codes ]

GFL_LoadParams

GFL_LoadParams PROTO __lpGflParams:LPGFL_LOAD_PARAMS

Initialize the GFL_LOAD_PARAMS before loading an image.

 

GFL_QuickLoadImageFile

GFL_QuickLoadImageFile PROTO __lpszFileName:LPSTR

Load an image file into memory.

If the function ends successfully, it returns an HBITMAP on the newly loaded image, otherwise it returns NULL.

GFL_CanILoadThisFile

GFL_CanILoadThisFile PROTO __lpszFileName:LPSTR

Asks GFL if the file can be loaded

If the function ends successfully it return TRUE into the EAX register otherwise it returns FALSE.

GFL_LoadThumbnailFromFile

GFL_LoadThumbnailFromFile PROTO __lpszFileName:LPSTR,__dwExpectedWidth:DWord,__dwExpectedHeight:DWord

Loads a thumbnail from the specified image file and resizes it to the expected width and height.

GFL_QuickLoad

GFL_QuickLoad PROTO __lpszFileName:LPSTR,__dwNewWidth:DWord,__dwNewHeight:DWord,__dwAngle:DWord

Loads the image file and resizes it. It returns a pointer to a GFL_BITMAP structure.
If the function fails it returns FALSE.

GFL_LoadImageFromFile

GFL_LoadImageFromFile PROTO __lpszFileName:LPSTR

This is the main function. It loads a image file and fills an IMAGE_INFOS structure.

If the function fails it returns NULL.

GFL_ResizeImageFromFile

GFL_ResizeImageFromFile PROTO __lpszFileName:LPSTR,__dwNewWidth:DWord,__dwNewHeight:DWord

Loads an image file, resizes the image and fills an IMAGE_INFOS structure.

GFL_ReDimImageFromFile

GFL_ReDimImageFromFile PROTO __lpszFileName:LPSTR,__dwNewWidth:DWord,__dwNewHeight:DWord

Loads an image file, resizes the image and fills an IMAGE_INFOS structure.

GFL_ResizeAndRotateFromFile GFL_ResizeAndRotateFromFile PROTO __lpszFileName:LPSTR,__dwNewWidth:DWord,__dwNewHeight:DWord,__dwAngle:DWord

Loads an image file, resizes and rotaes the image and fills an IMAGE_INFOS structure.

GFL_GetBitmapHandleFromBits

GFL_GetBitmapHandleFromBits PROTO __lpImage:Ptr IMAGE_INFOS

Gets the bitmap handle from the images bits given in the __lpImage parameter.

GFL_QuickResize

GFL_QuickResize PROTO __lpszFileName:LPSTR,__dwNewWidth:DWord,__dwNewHeight:DWord

Resizes an image and returns a HBITMAP

GFL_Clipboard_Copy

GFL_Clipboard_Copy PROTO __lpszFileName:LPSTR

Copies an image file into the clipboard.

GFL_SetAsWallPaper

GFL_SetAsWallPaper PROTO __lpImage:Ptr IMAGE_INFOS,__lpszImageFileName:LPSTR

Sets the specified file name as wallpaper.

GFL_ImageToClipboard

GFL_ImageToClipboard PROTO __hWnd:HWND,__lpImage:Ptr IMAGE_INFOS

Copies an IMAGE_INFOS structure into the clipboard.

GFL_Rotate

GFL_Rotate PROTO __lpszFileName:LPSTR,__dwAngle:DWord

Rotates an image file.

GFL_AutomaticLevel

GFL_AutomaticLevel PROTO __lpszFileName:LPSTR

Adjusts the image levels.

GFL_Swap_GBR

GFL_Swap_GBR PROTO __lpszFileName:LPSTR

Transform from RGB to GBR

GFL_Swap_GRB

GFL_Swap_GBR PROTO __lpszFileName:LPSTR

Transform from RGB to GRB

GFL_Swap_BRG

GFL_Swap_BRG PROTO __lpszFileName:LPSTR

Transform from RGB to BRG

GFL_Swap_BGR

GFL_Swap_BGR PROTO __lpszFileName:LPSTR

Transform from RGB to BGR

GFL_Swap_RBG

GFL_Swap_RBG PROTO __lpszFileName:LPSTR

Transform from RGB to RBG

GFL FILTERS

GFL_AutomaticContrast
GFL_Negative
GFL_Sepia
GFL_LogarithmicCorrection
GFL_Normalize
GFL_FlipHorizontal
GFL_FlipVertical
GFL_Equalize
GFL_EqualizeLuminance

NON GFL FUNCTIONS

GFL_MiroirVertical
GFL_MiroirHorizontal

USEFUL FUNCTIONS

GFL_CreateBitmapFromFile
GFL_GetBitsFromHandle

 

Download the library here

[ Home | Optimize | Current | Project | Tools | Made in France | F.A.Q | Forums | Links | Sources Codes ]