Imagick::getImageType

(PECL imagick 0.9.10-0.9.9)
Gets the potential image type
int Imagick::getImageType ( void )

Gets the potential image type.

Returns:

Returns the potential image type.

  • imagick::IMGTYPE_UNDEFINED
  • imagick::IMGTYPE_BILEVEL
  • imagick::IMGTYPE_GRAYSCALE
  • imagick::IMGTYPE_GRAYSCALEMATTE
  • imagick::IMGTYPE_PALETTE
  • imagick::IMGTYPE_PALETTEMATTE
  • imagick::IMGTYPE_TRUECOLOR
  • imagick::IMGTYPE_TRUECOLORMATTE
  • imagick::IMGTYPE_COLORSEPARATION
  • imagick::IMGTYPE_COLORSEPARATIONMATTE
  • imagick::IMGTYPE_OPTIMIZE
Exception:

Throws ImagickException on error.

doc_php
2016-02-24 16:01:05
Comments
Leave a Comment

Please login to continue.