The Imagick class
PHP Manual

Imagick::getImageAlphaChannel

()

Imagick::getImageAlphaChannelGets the image alpha channel

Opis

int Imagick::getImageAlphaChannel ( void )

Gets the image alpha channel value. The returned value is one of the alpha channel constants. This method is available if Imagick has been compiled against ImageMagick version 6.4.0 or newer.

Zwracane wartości

Returns a constant defining the current alpha channel value. Refer to this list of alpha channel constants.

Błędy/Wyjątki

Zgłasza wyjątek ImagickException w przypadku błędu.


The Imagick class
PHP Manual