Imagick
PHP Manual

Imagick::functionImage

(No version information available, might only be in SVN)

Imagick::functionImageApplies a function on the image

Descrierea

public bool Imagick::functionImage ( int $function , array $arguments [, int $channel = Imagick::CHANNEL_DEFAULT ] )

Applies an arithmetic, relational, or logical expression to an image. Use these operators to create lighter or darker versions of an image, to increase or decrease contrast in an image, or to negate the image colors. Această metodă este disponibilă dacă Imagick a fost compilat cu ImageMagick de versiunea 6.4.9 sau ulterior.

Parametri

function

Refer to this list of function constants

arguments

Array of arguments to pass to this function.

Valorile întoarse

Întoarce TRUE în caz de succes.

Erori/Excepții

Emite ImagickException în caz de eroare.


Imagick
PHP Manual