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
 Canon .HIF file support - Delphi 10.1

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
tjarrault Posted - Oct 03 2022 : 12:00:04
Hello,

I am currently evaluating the ImageEn library to process Canon .HIF generated pictures.
I have compiled the Magnify demo and when I try to open a sample image, the below Exception is raised:



I have noted this behavior on several other demo project.

I have attached a sample picture here to help reproducing the issue:

attach/tjarrault/2022103115410_IMG_0369.zip
8453.73 KB

Thanks & regards
Thomas

Thomas
11   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 07 2022 : 19:32:31
Please email sales@xequte.com. I do not have easy access to your email address on the forum.

Nigel
Xequte Software
www.imageen.com
tjarrault Posted - Oct 07 2022 : 06:35:00
Hi Nigel,

I can't email you via your profile, seems I am too recent here :)
can you email me?

thanks
Thomas

Thomas
xequte Posted - Oct 06 2022 : 04:17:39
Hi Thomas

You can email me for a newer trial.

Nigel
Xequte Software
www.imageen.com
tjarrault Posted - Oct 06 2022 : 02:04:04
Hi Nigel,

I am using v10.3.5 trial version with ImageMagickPlugIn1100.

regards

Thomas
xequte Posted - Oct 06 2022 : 00:01:37
Hi Thomas

What version of ImageEn are you using?


Nigel
Xequte Software
www.imageen.com
tjarrault Posted - Oct 05 2022 : 17:24:06
I have finally succeed in loading my picure using (works also with .HEIF extension)

ImageEnView1.IO.LoadFromFile( 'C:\IMG_0369.HIF', 8197 )


It seems few ImageMagick's dlls were missing even if demo indicates "plugin registered".

I have also noticed that HEIF is not displayed in available format as seen below



Anyway thank you very much for your support

Best regards

Thomas
xequte Posted - Oct 05 2022 : 16:04:22
Hmm, I'm not seeing that. What version of ImageEn is this?

HEIF support via ImageMagick was added in v10.3.5 and there have been a lot of other ImageMagick enhancements in 11.3.0.

Nigel
Xequte Software
www.imageen.com
tjarrault Posted - Oct 05 2022 : 14:45:26
Hi Nigel,

Same results trying your suggestions.
I have individually tested the following 4 cases, WIN10 64bits compiled with delphi 10.1 and 10.4.2:

in this case below => image is not loaded and WIC exception is raised:
IEGlobalSettings().WICFileTypes:= '-';
ImageEnView1.IO.LoadFromFile( 'C:\IMG_0369.HEIF' );


in the 3 cases below => image is not loaded and no exception raised:

IEGlobalSettings().WICFileTypes:= '-';
ImageEnView1.IO.LoadFromFile( 'C:\IMG_0369.HIF' );
----
ImageEnView1.IO.LoadFromFile( 'C:\IMG_0369.HIF', 8197 );  // iomscHEIF = 8197
----
ImageEnView1.IO.LoadFromFile( 'C:\IMG_0369.HEIF', 8197 );  // iomscHEIF = 8197

Thanks & regards

Thomas
xequte Posted - Oct 04 2022 : 15:31:56
Hi Thomas

Does it work if you call:
IEGlobalSettings().WICFileTypes:= '-';
ImageEnView1.IO.LoadFromFile( 'D:\IMG_0369.HIF' );

Or
ImageEnView1.IO.LoadFromFile( 'D:\IMG_0369.HIF', iomscHEIF );

How about if you change the extension to .heif?

Nigel
Xequte Software
www.imageen.com
tjarrault Posted - Oct 04 2022 : 02:51:58
Hi Nigel,

thanks for your swift reply.

I have installed ImageMagick addon and compiled the provided demo.
Unfortunately the same expection is raised on my sample file.

I have tried to open the same .HIF file directly in ImageMagick and it opens properly.



I have then added the following code to prevent using WIC:
IEGlobalSettings().WICFileTypes:= '-';

Exception is not raised anymore but image still not loaded.

thank you for your support
regards

Thomas
xequte Posted - Oct 03 2022 : 20:41:07
Hi Thomas

For HEIF files you are better to use the ImageMagick plug-in. This images loaded for me with ImageMagick (though the .HIF extension is not supported by default, so you are better to use .HEIF):

https://www.imageen.com/help/TIEMiscPluginsImageMagick.html

Nigel
Xequte Software
www.imageen.com