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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Error in EXIF_WriteToStrings with some Canon Files

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Andy_Bell Posted - Jun 23 2020 : 11:59:12
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
13   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 27 2021 : 16:22:04
Hi Alex

I downloaded three CR3 images from the site you link to.

> There is no auto-rotate when loading with any Engine

We're currently using the latest version of LibRaw and it looks like it cannot extract the Orientation data from cr3 files at this time. Other software I tried also fails, but the orientation data is there in the image.


- The file size is 0 when saved to cr3. See RealRaw demo.

ImageEn does not support Camera Raw saving. The RealRaw demo is for RAW bitmap files.


- No EXIF information (all blank)

I'm not seeing that, but the data is limited.



Nigel
Xequte Software
www.imageen.com
kromalex Posted - Jan 27 2021 : 08:25:07
Hi,

Similar problems for me.
I'using ImageEn 9.2.6 + IeVision 5.4.1

With these versions and Canon cr3 file:
(You can download some from https://www.photographyblog.com/previews/canon_eos_r_photos)
- There is no auto-rotate when loading with any Engine (or in preview in opening dialog). See CameraRaw demo.
- The file size is 0 when saved to cr3. See RealRaw demo.
- No EXIF information (all blank). See Exif demo.

Are these problems resolved in ImageEn 9.3.0 + 5.4.1B ?

Thanks a lot,
Alex
xequte Posted - Sep 25 2020 : 05:40:41
Hi Andy

We implemented the LibRaw update in early September so it should include this fix from July.

Nigel
Xequte Software
www.imageen.com
Andy_Bell Posted - Sep 25 2020 : 02:36:02
Hi Nigel

I was testing LibRaw yesterday and there is a bug in it (not in ImageEn) that can cause it to infinite loop when reading a corrupt .CR3 file. Thankfully, this is a rare thing...

Anyhow, LibRaw's devs have issued a patch to fix it, which works:

https://github.com/LibRaw/LibRaw/commit/cfb66cb2372b373961321cb7ebeae733030fb16c

I don't know if it's included in your update. It's a patch to the LibRaw 0.2 source code...

All the best,
Andy

Andy
xequte Posted - Sep 16 2020 : 00:06:32
Hi

We have added updated LibRaw and added support for the EXIF in CR3 and some other raw formats to 9.1.2. Note LibRaw does not expose a lot of the EXIF data, plus the GPS data does not seem to be valid. If you have CR3 files with GPS data, please forward them to use for testing.

Nigel
Xequte Software
www.imageen.com
xequte Posted - Aug 19 2020 : 22:13:05
Hi Andy

Looks like we we need to update our LibRaw snapshot. Try to get this into the next release.

Nigel
Xequte Software
www.imageen.com
Andy_Bell Posted - Aug 16 2020 : 17:54:32
Hi

https://andybellphotography.com/ImageEn/

Has 3 .cr3 images in it with the problem.

I don't think there is an actual problem with .CRW files - tools like PhotoMechanic can't read any EXIF from them and rely on the .thm sidecar file for that...

LibRaw 0.20 (the latest version) can read the EXIF in these images...

Andy

Andy
xequte Posted - Aug 15 2020 : 00:11:44
We have investigated, but not yet resolved it. Can you also link to a CR3 file that shows the issue.



Nigel
Xequte Software
www.imageen.com
Andy_Bell Posted - Aug 14 2020 : 10:24:24
Hello

Has any progress been made on this?

Andy

Andy
xequte Posted - Jun 30 2020 : 00:40:00
Hi

Yes, we are investigating this issue.

Nigel
Xequte Software
www.imageen.com
eddy2099 Posted - Jun 30 2020 : 00:17:24
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.

Andy_Bell Posted - Jun 24 2020 : 08:33:04
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
xequte Posted - Jun 24 2020 : 01:10:21
Hi Andy

What CameraRawEngine are you using?

https://www.imageen.com/help/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