Imagick::getImageAlphaChannel
(PECL imagick 2 >= 2.3.0, PECL imagick 3)
Imagick::getImageAlphaChannel — Checks if the image has an alpha channel
Description
Returns whether the image has an alpha channel.
Parameters
This function has no parameters.
Return Values
Returns true if the image has an alpha channel value and false if not, i.e. the image is RGB rather than RGBA or CMYK rather than CMYKA.
Errors/Exceptions
Throws ImagickException on error.
↑ and ↓ to navigate • Enter to select • Esc to close • / to open