Bug#1040307: imagemagick: Converting PNG to AVIF replaces transparent pixels with black pixels

2024-04-19 Thread Nikita Radchenko
The problem is fixed in ImageMagick 6.9.12-68.

I confirm that starting with commit cc4e5a63 
(https://github.com/ImageMagick/ImageMagick6/commit/cc4e5a6383961c03d340e0237feedfff83f9af0b)
 ImageMagick can convert PNG images with transparent background to AVIF without 
issues.



Bug#1040307: imagemagick: Converting PNG to AVIF replaces transparent pixels with black pixels

2023-07-04 Thread Pierre Rudloff
Package: imagemagick
Version: 8:6.9.11.60+dfsg-1.3+deb11u1
Severity: normal
X-Debbugs-Cc: prudl...@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