Search found 7 matches

by enter
Tue Nov 23, 2010 9:39 am
Forum: GFL SDK
Topic: [DELPHI] :gflGetFileInformation - DPi bug
Replies: 10
Views: 3210

Re: [DELPHI] :gflGetFileInformation - DPi bug

(ERRATA CORRIGE)

I sended you a new PM where I wrote my email correctly!

sorry for mistake!
by enter
Tue Nov 23, 2010 8:04 am
Forum: GFL SDK
Topic: [DELPHI] :gflGetFileInformation - DPi bug
Replies: 10
Views: 3210

Re: [DELPHI] :gflGetFileInformation - DPi bug

xnview wrote:The problem is that for your picture, DPI are not stored in the header but in metadata...

Ok, currently it's not easy. I can add a flag. Could you send me your email?

I sent you a PM!

Thanks!
by enter
Mon Nov 22, 2010 5:48 pm
Forum: GFL SDK
Topic: [DELPHI] :gflGetFileInformation - DPi bug
Replies: 10
Views: 3210

Re: [DELPHI] :gflGetFileInformation - DPi bug

It does not work!

I don't understand why gflGetFileInformation function does not work well with images!

the gflGetEXIFDPI is very complicated funcion and without an example it's very hard to understand how it work..

I need to konow as fast as possibile the information of any images (width ...
by enter
Mon Nov 22, 2010 2:55 pm
Forum: GFL SDK
Topic: [DELPHI] :gflGetFileInformation - DPi bug
Replies: 10
Views: 3210

Re: [DELPHI] :gflGetFileInformation - DPi bug

Sorry gflBitmapGetEXIF
ok

GFL_EXIF_DATA* gflBitmapGetEXIF(
const GFL_BITMAP* bitmap,
GFL_UINT32 flags
);


flags?

I try with this :

gflGetDefaultLoadParams(lo);
lo.DefaultAlpha:= 255;
lo.ColorModel := GFL_BGR;
e:=gflLoadBitmap(pchar(nome),pgbmp,lo,fginfo);
if (e <> gfl_no_error ...
by enter
Mon Nov 22, 2010 2:13 pm
Forum: GFL SDK
Topic: [DELPHI] :gflGetFileInformation - DPi bug
Replies: 10
Views: 3210

Re: [DELPHI] :gflGetFileInformation - DPi bug

xnview wrote:Even a jpeg file can't have DPI info.

So it's EXIF DPI for your problem, i think...
gflGetEXIFDPI

I don't understand, What Should I do? gflGetEXIFDPI function it does not exists.
by enter
Mon Nov 22, 2010 2:01 pm
Forum: GFL SDK
Topic: [DELPHI] :gflGetFileInformation - DPi bug
Replies: 10
Views: 3210

Re: [DELPHI] :gflGetFileInformation - DPi bug

xnview wrote:If X/YDpi are 0, so there is no DPI information in the file...
how is it possible? it is a Jpeg file! And in this case How can I get this information? (with another component I get this information by the same file or If I open with Photoshop I See that the image has DPi information)
by enter
Mon Nov 22, 2010 12:02 pm
Forum: GFL SDK
Topic: [DELPHI] :gflGetFileInformation - DPi bug
Replies: 10
Views: 3210

[DELPHI] :gflGetFileInformation - DPi bug

Hi,
I create this function to get image file information :


TImgInfo = record
width:integer;
height:integer;
dpx:integer;
dpy:integer;
error:string;
end;
//.....
function Tprinc.getImgInfo(name:TFileName):TImgInfo ;
var
fginfo:TGFL_FILE_INFORMATION;
e: GFL_ERROR;
ris:TImgInfo;
begin
e ...