Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion of png file with transparent background into avif results in black background #20

Open
melkishengue opened this issue Jul 30, 2024 · 0 comments

Comments

@melkishengue
Copy link

melkishengue commented Jul 30, 2024

Converting a png with a transparent background into avif results in a black background as you can see with the following files:

Original file:
input

Converted file:
input-qoD.avif.zip

Had to zip the converted file because github does not support avif file uploading.

For the conversion:

avif.Encode(writer, img, nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant