which command can judge whether a png pic has alpha channel ?
Posted: 2015-05-06T04:17:00-07:00
Dear Qins:
which command can judge whether a png pic has alpha channel ?
which command can judge whether a png pic has alpha channel ?
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=27575
Code: Select all
pngcheck file.png
Code: Select all
file file.png
Code: Select all
identify -verbose file.png
Code: Select all
convert image -format " %[channels]" info:
Code: Select all
convert image -format " %[opaque]" info: