Page 1 of 1

tiff and alpha

Posted: 2010-03-08T20:24:45-07:00
by eric_vi
i am using Imagick++ . Is there a way to tell if a TIFF image has an alpha channel or not that can be read. And if yes how to read this alpha?

i was thinking type() would tell me but it does not seem so . Thank you for your help

Re: tiff and alpha

Posted: 2010-03-08T20:27:41-07:00
by fmw42
in command line, see http://www.imagemagick.org/script/escape.php

convert image -format "%A" info:

convert logo: -transparent white logot.png

convert logo: -format %A info:
False

convert logot.png -format %A info:
True


Don't know how this goes over to any APIs