Zend certified PHP/Magento developer

ImageMagick: “Unrecognized compose operator (DstIn)”

Trying to apply round borders to nftbg.png after generating the nftbgmask.png (of the same size: 492×246) but ImageMagick isn’t recognizing the very commands it recommended for years.

Commands used in Bash:

convert -size 492x246 xc:none -draw "roundrectangle 0,0,492,246,15,15" nftbgmask.png
convert nftbg.png -matte nftbgmask.png 
-compose DstIn -composite nftbgtest.png

It successfully generates the nftbgmask.png, but can’t merge nftbg.png into the mask because it doesn’t recognize its DstIn operator.