took any image like https://imagemagick.org/image/wizard.png
I created an empty page to combine images on it and i began by the first :
Result:
- (abnormal) B&W image in latest windows public build
- (good) colorized image on Ubuntu 18.04 LTS and former windows build i lost the version number.
it is due to a recent change on IM ? on LIBPNG ?
Linux bash & Windows batch follows :
Code: Select all
# imagemagick 6.9.7-4 Q16 x86_64 20170114
rm emptypage.png
rm workswell.png
wget https://imagemagick.org/image/wizard.png
convert -size 2480x3508 xc:white emptypage.png
convert emptypage.png -strip wizard.png -geometry 150%%x150%%+100+100 -composite workswell.png
xdg-open workswell.png
read $r
read $r
read $r
del emptypage.png
del bad.png
..\ImageMagick-7.0.8-64-portable-Q16-x64\convert -size 2480x3508 xc:white emptypage.png
..\ImageMagick-7.0.8-64-portable-Q16-x64\magick convert emptypage.png -strip wizard.png -geometry 150%%x150%%+100+100 -composite bad.png
start bad.png
pause