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
 Reading EXIF in HEIC
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

G13

France
2 Posts

Posted - Jan 24 2022 :  06:45:43  Show Profile  Reply
Hi all

I'm new using ImageEn, so xcuse if this is a stupid question ;-)


I'm just trying the get some EXIF info. It's working fine on jpg, but not on HEIC (coming from iPhone 13)

--> ParamsFromFile is doing an EIEException 'WIC Failure'


if ImageEnIO1.ParamsFromFile('IMG_0571.HEIC', True) then begin
  if ImageEnIO1.Params.EXIF_HasEXIFData then begin
    Orientation := ImageEnIO1.Params.EXIF_Orientation.ToString;
...


I'm on Delphi 11

Any idea ?


G13

xequte

38222 Posts

Posted - Jan 24 2022 :  16:22:00  Show Profile  Reply
Hi

Are you actually able to load HEIC files with ImageEn?

You may need a driver:

https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=3771



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

G13

France
2 Posts

Posted - Jan 25 2022 :  08:50:27  Show Profile  Reply
Hi,

Thanks it is working now... but, why is this driver mandatory to read only the EXIF info?

Since the HEIF/HEIC driver is no longer free (Device Manufacturer tricks now ask a redeem code),
it is not possible to ask every customer to bought it...

EXIF in HEIC seems not too far from EXIF in JPG.. is it possible to implement a natif reader for this format ?

Thanks a lot



G13
Go to Top of Page

xequte

38222 Posts

Posted - Jan 25 2022 :  16:04:47  Show Profile  Reply
Hi

The driver is needed to load the image and meta-data. It is possible we will have native support in the future if the format gains in popularity.

It looks like this driver is now free anyway:

https://www.microsoft.com/en-au/p/heif-image-extensions/9pmmsr1cgpwg

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