Imagick::setColorspace

(PECL imagick 3)

Imagick::setColorspaceSet colorspace

Descrierea

public Imagick::setColorspace ( int $COLORSPACE ) : bool

Sets the global colorspace value for the object. Această metodă este disponibilă dacă Imagick a fost compilat cu ImageMagick de versiunea 6.5.7 sau ulterior.

Parametri

COLORSPACE

One of the COLORSPACE constants

Valorile întoarse

Întoarce true în caz de succes.

Erori/Excepții

Emite ImagickException în caz de eroare.