Image: HEIC formatt file is not supported

Created on 11 Sep 2018  Â·  6Comments  Â·  Source: Intervention/image

It's throwing an exception:NotSupportedException Encoding format (HEIC) is not supported
When I tried to upload image file with format .heic

Most helpful comment

Any update on this yet?
Found this, testing it out now - https://medium.com/@eplt/5-minutes-to-install-imagemagick-with-heic-support-on-ubuntu-18-04-digitalocean-fe2d09dcef1

All 6 comments

HEIC is a relatively new image format and not yet natively supported by PHP GD nor Imagick (see https://github.com/ImageMagick/ImageMagick/issues/507).

Any update on this yet?
Found this, testing it out now - https://medium.com/@eplt/5-minutes-to-install-imagemagick-with-heic-support-on-ubuntu-18-04-digitalocean-fe2d09dcef1

Any update on this ?

?

I’m testing HEIC and AVIF file format encoding (for converting from jpg/png to next-gen formats):

https://github.com/ambroisemaupate/image/commit/668b24e7e6d51bbb9498528a49cd18aba9ec660b

This requires to compile ImageMagick with AVIF and HEIC, which requires libheic… which requires libaom, libavif, nasm, libde265… that’s not out-of-the-box for the moment :smile:

Here is a great Dockerfile with all steps to compile Imagemagick on your local machine: https://github.com/dooman87/imagemagick-docker/blob/master/Dockerfile.buster

I won’t even try with GD.

I’ll submit a PR if I come to an interesting point.

This requires to compile ImageMagick with AVIF and HEIC, which requires libheic… which requires libaom, libavif, nasm, libde265… that’s not out-of-the-box for the moment 😄

Down the rabbit hole!

Wow! Thanks for the heads up and the details, much appreciated 🙇

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ludo237 picture ludo237  Â·  8Comments

mavinothkumar picture mavinothkumar  Â·  6Comments

divdax picture divdax  Â·  7Comments

ctf0 picture ctf0  Â·  4Comments

imadsh picture imadsh  Â·  5Comments