#`.heic` image support

1 messages · Page 1 of 1 (latest)

gray barn
#

My client just gave me a whole bunch of .heic image files, and while I know that the Astro <Picture> can handle them via sharp, what's the consensus on the best way to handle them within Astro. Does it just make more sense to convert to .avif and go from there?

viral orbit
#

Hmm I've never heard of .heic files but they seem to be some propriatary Apple format. If I was you I'd just ask them to send them over in your preferred format unless you can just use the heic files directly? I would assume if sharp can handle them, you could just use them like any other image type?

nimble rain
heady yoke
#

Slight concern: although the HEIC format isn't an Apple format per se, the main form of compressing HEIC images is by using HEVC encoding. HEVC is patent-encumbered and doesn't have favorable licensing, so I don't know what image libraries support it.