ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 read only EXIF data
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

giancarlo

Italy
65 Posts

Posted - Aug 10 2016 :  18:10:04  Show Profile  Reply
Is possibile to read only exif information without load the entire file?
I have huge files and i need to get only exif data.
I'm using the loadfromfilefast but is not "fast" as i would :(

Is also possible to get all exif params in an array without read one by one?

thank you

gian

w2m

USA
1990 Posts

Posted - Aug 10 2016 :  18:22:53  Show Profile  Reply
uses iexMetaHelpers;
ListView1.InitializeList;
ListView1.NewListForExif;
ListView1.ReadListFromExif(ImageenView1.IO.Params);


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

giancarlo

Italy
65 Posts

Posted - Aug 10 2016 :  18:32:37  Show Profile  Reply
but i wouldn't load the file... just read exif
Go to Top of Page

w2m

USA
1990 Posts

Posted - Aug 10 2016 :  18:32:48  Show Profile  Reply
Look at iexMetaHelpers and ParamsFromFile in the help file or in the online help. T his does not load the entire file... it just loads the IO.Prams from the file.

uses ImageEnIO, iexMetaHelpers;
var
  iImageEnIO: TImageEnIO;
  iFilename: string;
begin
  iImageEnIO := TImageEnIO.Create(nil);
  try
    iImageEnIO.ParamsFromFile(iFilename);
    ListView1.InitializeList;
    ListView1.NewListForExif;
    ListView1.ReadListFromExif(iImageEnIO.Params);
  finally
    iImageEnIO.Free;
  end;
end;

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

giancarlo

Italy
65 Posts

Posted - Aug 10 2016 :  19:39:57  Show Profile  Reply
thank you :)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: