I want buy your library in light version, now i tested it with my application and i have problem (
My code:
Code: Select all
procedure TFDesktop.Button1Click(Sender: TObject);
var gfl_bmp: PGFL_BITMAP;
lp: TGFL_LOAD_PARAMS;
fi: TGFL_FILE_INFORMATION;
e: GFL_ERROR;
begin
gflEnableLZW(GFL_TRUE);
gflGetDefaultThumbnailParams(lp);
lp.Flags := GFL_LOAD_SKIP_ALPHA;
lp.Flags := lp.Flags or GFL_LOAD_PREVIEW_NO_CANVAS_RESIZE;
e:=gflLoadThumbnail(PAnsiChar('c:\test.jpg',150,150,gfl_bmp,lp,fi); <- this line generate Access Violation error.
end;
What I done wrong ?
I write in Delphi7.
Please help me.