Skip to content

Add support for the HEIF image format #7522

@fleaz

Description

@fleaz

Description

Hey,
we are running a Craft site for a customer who wants to upload images directly from his iPhone what confronted us with the problem of handling *.heic files (Modern iOS devices shoot images in HEIF instead of JPEG).

We manually compiled a recent version of imagemagick with libheif on the server to get support for this image format and after adding heic to extraAllowedFileExtensions in the general config, one can successfully upload images in the HEIF format.

But Craft won't generate a thumbnail because it probably does not know that this is an image format (there is e.g. also no height/width information).

Are there any plans on adding HEIF support to Craft? Most distributions currently don't ship a recent enough version of Imagemagick (so you have compile it yourself), but this will hopefully change in the future :D

Best,
Felix

Metadata

Metadata

Labels

enhancementimprovements to existing features

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions