Dirk,
Here are two test PSD images that I created. The first is 500x500 solid red with an alpha channel that is a smaller rectangle. The second is the same, but the alpha channel is disabled.
http://www.fmwconcepts.com/misc_tests/p ... pha_on.psd
http://www.fmwconcepts.com/misc_tests/p ... ha_off.psd
The following commands show the PSD converted to PNG. The alpha channel gets extracted and used in the PNG whether or not it is enabled or disabled in the PSD file. I also show the result of turning the alpha channel off to produce just the red image with no alpha channel.
Code: Select all
magick red_alpha_on.psd[0] red_alpha_on.png
Code: Select all
magick red_alpha_off.psd[0] red_alpha_off.png
Code: Select all
magick red_alpha_on.psd[0] -alpha off red_alpha_on_aoff.png
Here are attempts to use alpha-unblend=off. But neither prevent the alpha channel from showing.
Code: Select all
magick -define psd:alpha-unblend=off red_alpha_on.psd[0] red_alpha_on_unblend.png
Code: Select all
magick -define psd:alpha-unblend=off red_alpha_off.psd[0] red_alpha_off_unblend.png
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-05-30
https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License:
https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps raw rsvg tiff webp x xml zlib