[Pkg-gmagick-im-team] Bug#1040307: imagemagick: Converting PNG to AVIF replaces transparent pixels with black pixels

Pierre Rudloff prudloff at insite.coop
Tue Jul 4 11:16:14 BST 2023


Package: imagemagick
Version: 8:6.9.11.60+dfsg-1.3+deb11u1
Severity: normal
X-Debbugs-Cc: prudloff at insite.coop

Dear Maintainer,

When converting a PNG image to AVIF, transparent pixels are replaced with black pixels.
It can be reproduced with this image: https://upload.wikimedia.org/wikipedia/commons/9/9d/Alpha_transparency_image.png

With this command:
convert Alpha_transparency_image.png Alpha_transparency_image.avif

It seems to be a known issue fixed in ImageMagick 7: https://alexwlchan.net/2023/check-for-transparency/


-- Package-specific info:
ImageMagick program version
---------------------------
animate:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
compare:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
convert:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
composite:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
conjure:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
display:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
identify:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
import:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
mogrify:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
montage:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
stream:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org

-- System Information:
Debian Release: 11.6
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-76-generic (SMP w/8 CPU threads)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages imagemagick depends on:
ii  imagemagick-6.q16  8:6.9.11.60+dfsg-1.3+deb11u1

imagemagick recommends no packages.

imagemagick suggests no packages.

-- no debconf information



More information about the Pkg-gmagick-im-team mailing list