gflLoadThumbnail > background color?
Posted: Thu Jun 24, 2010 9:02 am
When I use......to load a picture as thumbnail I have no control on which background color is used to fill the canvas up to 100x100 pixel. It seems like pBmp^.ColorMap^.Red/Green/Red/Alpha[0] is most commonly used (noticed this because the color was not always black) and not the color indexed by pBmp^.TransparentIndex.
Is there any way to also directly give a GFL_COLOR to use for the canvas/background?
Code: Select all
iError:= gflLoadThumbnail( 'filename.gif', 100, 100, @pBmp, @vLoadParam, vFileInfo );
Is there any way to also directly give a GFL_COLOR to use for the canvas/background?