array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'imagick.setimagecolorspace.php', 1 => 'Imagick::setImageColorspace', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.setimagecolormapcolor.php', 1 => 'Imagick::setImageColormapColor', ), 'next' => array ( 0 => 'imagick.setimagecompose.php', 1 => 'Imagick::setImageCompose', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/setimagecolorspace.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL imagick 2, PECL imagick 3)
Imagick::setImageColorspace — Sets the image colorspace
Sets the image colorspace. This method should be used when creating new images. To change the colorspace of an existing image, you should use Imagick::transformImageColorspace().
Retorna true
em caso de sucesso.
Lança uma exceção ImagickException em caso de erro.