Imagemagick: Alpha support for writing heif images?

Created on 20 Oct 2018  路  2Comments  路  Source: ImageMagick/ImageMagick

Description

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)

Steps to Reproduce

convert image-with-alpha.png image-with-alpha.heic

  • ImageMagick version: 7.0.8-12
  • Environment (Operating system, version and so on): Doesn't matter
enhancement up for grabs

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.

All 2 comments

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!

Was this page helpful?
0 / 5 - 0 ratings