The images are intended for social media, and I'd like to be able to test for transparency before they get sent & if there's a problem, we can rerun the image generator & alert the admin (me).
I found this snippet of code on a (very) old post, and it works perfectly (on Linux 32bit IM 6.9.10), but I wondered if there is a neater/quicker/whatever equivalent for both 6.9 and 7.x ?
Code: Select all
convert image -matte -channel A -separate -format '%[fx:image.maxima]' info: