Skip to content

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

Open
@melkishengue

Description

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)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions