Convert.exe HEIC format to output PDF image not good.

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Locked
Ganesh_B
Posts: 20
Joined: 2018-03-06T05:29:40-07:00
Authentication code: 1152

Convert.exe HEIC format to output PDF image not good.

Post by Ganesh_B »

Hi,

Customer requested us - that HEIF/HEIC file format('.heif';'.heic' extensions) supported to be converted to PDF.

I have tested IM version 'ImageMagick-7.0.8-12' with below command using 'ImageMagick-7.0.8-12\libheif\examples\example.heic' sample file, but PDF output is not as expected and not a reflection of real colors and is not good.

convert.exe example.heic output.pdf

https://drive.google.com/open?id=1XPWMj ... pcHSHppd3M

If I convert to TIFF file, Conversion is good.

convert.exe example.heic output.tiff

https://drive.google.com/open?id=18ZFO7 ... qCZkCy_v7-

Please check the attached files. Is there any thing that we should enable/configure(Ex: Delegate) to make the good conversion to PDF of HEIF/HEIC files. Are there any arguments to Convert.exe that will correct PDF.

Regards,
Ganesh.
ER1135917

User avatar
fmw42
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Convert.exe HEIC format to output PDF image not good.

Post by fmw42 »

I do not know what the issue might be. But try

Code: Select all

convert.exe example.heic TIFF:- | convert - output.pdf

snibgo
Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Convert.exe HEIC format to output PDF image not good.

Post by snibgo »

Please link to your HEIC file.

See also the discussion about YCbCr in HEIC files at https://www.imagemagick.org/discourse-s ... =3&t=35968
snibgo's IM pages: im.snibgo.com

Ganesh_B
Posts: 20
Joined: 2018-03-06T05:29:40-07:00
Authentication code: 1152

Re: Convert.exe HEIC format to output PDF image not good.

Post by Ganesh_B »

Thank you Snigbo, I am looking at providing solution to Customer by converting HEIC image to "sRGB".

Locked