With #1099 ImageMagick does "natively" support heic/heif images now, which is great and als works great. Unfortunately, alpha channels are not supported by ImageMagick yet for saving heif images. libheif and their example at do support it, 'though.
https://github.com/strukturag/libheif/blob/master/examples/heif_enc.cc
Would be great, if this could be supported also by ImageMagick, maybe @farindk knows how to do this (may C is too rusty to actually give it a try currently)
convert image-with-alpha.png image-with-alpha.heic
A common use case for this would be converting a PNG with alpha channel transparency to a HEIF file with an alpha channel.
I would like to solve this issue but I have no or bad C experiences. Also I think it is important to adapt to the structures in this project of which I have no knowledge. So the chances are bad for a mergeable Pull Request from my side.
@dlemstra works on heic.cc from time to time and enhances the heic coder step by step. Thanks a lot @dlemstra, I really appreciate your commitment!
Most helpful comment
A common use case for this would be converting a PNG with alpha channel transparency to a HEIF file with an alpha channel.