strukturag / libheif

libheif is an HEIF and AVIF file format decoder and encoder.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

whether heif supports images with alpha, such as webp?

IphoneCoder opened this issue · comments

Yes, it does.

Yes, it does.

Thanks. I used the demo in the latest libheif version to convert the apng GIF to heif, but only the first frame,What is the right way?

libheif does not support encoding image sequences yet. Only still images.

But you still can encode multiple images into one "heic" with libheif

But you still can encode multiple images into one "heic" with libheif

I have looked at the ISO/IEC STANDARD 23008-12, but I am not sure what format should be if there is an alpha map per frame. Now we want to replace all webps with heif, any samples ?

You should be able to make such samples with heif-enc utility. It should handle alpha correctly by default.

Has this issue been resolved? I’m facing the same problem😭

Has this issue been resolved? I’m facing the same problem😭

It should work.

If it doesn't, please open an issue with a specific reproduceable sample showing exactly what steps you took, what you expected to happen, and what happened instead.

Has this issue been resolved? I’m facing the same problem😭

It should work.

If it doesn't, please open an issue with a specific reproduceable sample showing exactly what steps you took, what you expected to happen, and what happened instead.

Such as this apng sample, I want to convert it to heif, but I don't know how to store the yuv and alpha data of each frame in heif.
animated

Such as this apng sample,

Image sequences (animations) are not supported in libheif yet. That is independent of alpha support.