go-avif
go-avif copied to clipboard
PNG conversion does not preserve transparency
I have tested the encoder with a few png images with transparency but in every case the resulting image lacks of transparency. Is there anything I'm missing?
Here are the images:
Yea it literally says it isn't supported right now https://github.com/Kagami/go-avif/blob/master/avif.go#L104
Also the issue is already mentioned here: https://github.com/Kagami/go-avif/issues/4
Do you know what would be need to support alpha?
Is it a feature missing in this library or an issue with libaom-dev or a combination?
Did a little digging and it seems like libaom doesn't support alpha: https://bugs.chromium.org/p/aomedia/issues/detail?id=2199&sort=-modified&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Modified&q=alpha&can=1
Any idea when will this be completed?
It it useless to me until this is fixed. But once it is fixed it will be incredible!
Got trapped in the transparency hole as well when implementing av1 in a image service I am writing
Any progress?