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
 Error in EXIF_WriteToStrings with some Canon Files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andy_Bell

United Kingdom
23 Posts

Posted - Jun 23 2020 :  11:59:12  Show Profile  Reply
Hi

Delphi 2007 (and BCB 2007 using a conversion of the iexMetaHelpers unit)

The attached project is very simple, but if it tries to get EXIF from a Canon CRW (EOS 300D file) or a CR3 (EOS RP file) it, in the case of CRW, displays nothing at all or, in the case of CR3, displays no useful information.

Looking at the actual EXIF data help in the IO.Params there certainly is data there...

The function works fine with JPEGs created from these RAW files and with other RAW files (CR2/SRW)

I can supply sample images if needed...

Andy

attach/Andy_Bell/202062311546_ietest.zip
4.56 KB

Andy

xequte

5327 Posts

Posted - Jun 24 2020 :  01:10:21  Show Profile  Reply
Hi Andy

What CameraRawEngine are you using?

https://www.imageen.com/help/ImageEn/TIEImageEnGlobalSettings.CameraRawEngine.html

If the ielib DLL is not available, then only WIC is used which does not provide as much functionality.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Andy_Bell

United Kingdom
23 Posts

Posted - Jun 24 2020 :  08:33:04  Show Profile  Reply
Hi

I'm using iecrLibRaw

My code is this:

  IEGlobalSettings().CameraRawEngine := iecrLibRaw;
  if IEGlobalSettings().ActiveCameraRawEngine = iecrWIC then
    ShowMessage('WIC is being used for Camera Raw image Loading');
  IO.ParamsFromFile('H:/Images/Lakes Raw/2020/2020_02_06/_MG_5884.CR3');
  IO.Params.EXIF_WriteToStrings( memo1.Lines );


When running, no message about WIC being used is displayed.

If I use a TImageEnIO component and load the image it displays correctly.

The memo is filled in like this:

User Comment:
Description:
Camera Make:
Camera Model:
Horizontal Resolution: 1/300 inch
Vertical Resolution: 1/300 inch
Date and Time:
Original Date and Time:
Digitized Date and Time:
Copyright:
Camera Orientation: Orientated Correctly
Exposure Time:
F-Stop:
Exposure Program:
ISO Speed Rating:
Shutter Speed:
Aperture Value:
Brightness: -1000
Exposure Compensation: -1000
...

and so forth. Virtually no data about the image.

Andy

Andy
Go to Top of Page

eddy2099

8 Posts

Posted - Jun 30 2020 :  00:17:24  Show Profile  Reply
I am using Delphi 10.3.3 Rio and facing the same issue. There is no problem with the CR2 files but I'm getting the same result as Andy when using the same code on CR3.

Go to Top of Page

xequte

5327 Posts

Posted - Jun 30 2020 :  00:40:00  Show Profile  Reply
Hi

Yes, we are investigating this issue.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: