Search found 2 matches

by tdemarsh
Fri Dec 21, 2007 9:12 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory Error
Replies: 1
Views: 1448

Found a solution. Changed the TFileStream to a TMemoryStream, and passed the Memory property of the TMemoryStream as the first parameter.


procedure TForm2.Button4Click(Sender: TObject);
var
finfo: TGFL_FILE_INFORMATION;
lp: TGFL_LOAD_PARAMS;
gfl_bmp: PGFL_BITMAP;
e: GFL_ERROR;
y : Integer ...
by tdemarsh
Fri Dec 21, 2007 8:18 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory Error
Replies: 1
Views: 1448

gflLoadBitmapFromMemory Error

I'm trying to load TIFFs using the gflLoadBitmapFromMemory procedure. When I do, I get an "Unknown Format" error. The procedure's result value is 6.

When using gflLoadBitmap (from a file), it works fine.

I'm using Delphi 7, and the GFL SDK I downloaded today (version 2.80).

I've tried setting the ...