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