PHP » GoLang |
login |
register |
about
|
GoLang Imagick::functionImage
request it (267)
GoLang replacement for PHP's Imagick::functionImage
[edit | history]
Imagick::functionImage(No version information available, might only be in Git) Imagick::functionImage — Applies a function on the image Description
public bool Imagick::functionImage
( int
$function
, array $arguments
[, int $channel = Imagick::CHANNEL_DEFAULT
] )Applies an arithmetic, relational, or logical expression to a pseudo image. See also » ImageMagick v6 Examples - Image Transformations — Function, Multi-Argument Evaluate This method is available if Imagick has been compiled against ImageMagick version 6.4.9 or newer. Parameters
Return Values
Returns Errors/ExceptionsThrows ImagickException on error. Examples
Example #1 Create a sinusoidal gradient
<?php The above example will output something similar to: Example #2 Create a gradient from the polynomial (4x^2 - 4x + 1)
<?php The above example will output something similar to: Example #3 Create a complex gradient from the polynomial (4x^2 - 4x^2 + 1) modulated by a sinusoidal gradient
<?php The above example will output something similar to: |
more
Recently updated
more
Most requested
more
Last requests
|