go-avif icon indicating copy to clipboard operation
go-avif copied to clipboard

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

Open melkishengue opened this issue 6 months ago • 0 comments

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)

melkishengue avatar Jul 30 '24 19:07 melkishengue