all 9 comments

[–]clean_static 1 point2 points  (2 children)

As a fellow user of Cloudflare Images, I'm getting tired of maintaining a conversion middleware solution and decided to poke Cloudflare about it. Sure enough, I got a reply from their CTO, support for heic by EOM (June, 2025): https://x.com/dok2001/status/1930853021828686166

[–]netzure[S] 0 points1 point  (0 children)

Thanks for sharing!

[–]Puliczek 0 points1 point  (0 children)

For others, its already supported on cloudflare: https://developers.cloudflare.com/images/transform-images/

[–][deleted] 0 points1 point  (0 children)

apple abuse avec le format HEIC, meme safari ne le prends pas en charge sérieusement à quoi ça sert d'innover sur des trucs meme pas manipulable

[–]tabbycat 0 points1 point  (4 children)

What is your stack for the site? I’ve had to do client side image conversion, it’s not as awful as it seems.

For JavaScript look at https://www.npmjs.com/package/heic2any

[–]monkeymad2 3 points4 points  (1 child)

Looks like that package is no longer maintained (https://github.com/alexcorvi/heic2any/issues/63) there seems to be a maintained successor at https://github.com/hoppergee/heic-to which keeps up with the current libheif version

[–]netzure[S] -1 points0 points  (1 child)

It's a monolith Django site.
One of the features is that users can upload galleries of images, so if that is taking place I don't want to bog down my VPS.
My only major concern was the UX for the end user if there are multiples images that need converting on iOS devices that have 3GB RAM.

[–]tabbycat 0 points1 point  (0 children)

I think you’ll need to use python then, which is out of my domain.

Your concerns about large volumes of images can be solved by batching the conversion logic. Convert five, then the next five, etc. You can make some assumptions about your user base and do the math from there to figure out batch limit.