PHP » GoLang |
login |
register |
about
|
GoLang imageconvolution
request it (381)
GoLang replacement for PHP's imageconvolution
[edit | history]
imageconvolution(PHP 5 >= 5.1.0, PHP 7) imageconvolution — Apply a 3x3 convolution matrix, using coefficient and offset Description
bool imageconvolution
( resource
$image
, array $matrix
, float $div
, float $offset
)Applies a convolution matrix on the image, using the given coefficient and offset. Parameters
Return Values
Returns Examples
Example #1 Embossing the PHP.net logo
<?php The above example will output: Example #2 Gaussian blur
<?php The above example will output: NotesThis function requires GD 2.1.0 or higher. |
more
Recently updated
more
Most requested
more
Last requests
|