| Manuál PHP | ||
|---|---|---|
| PÅ™edcházejÃcà | Dalšà | |
imageconvolution
Popis
bool imageconvolution ( resource image, array matrix, float div, float offset )Applies a convolution matrix on the image, using the given coefficient and offset.
Seznam parametrů
imageAn image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
matrixA 3x3 matrix: an array of three arrays of three floats.
divThe divisor of the result of the convolution, used for normalization.
offset
PÅ™Ãklady
PÅ™Ãklad 2. Gaussian blur
Výše uvedený pÅ™Ãklad vypÃÅ¡e:
|
Poznámky
Poznámka: Tato funce je k dispozici jen tehdy, bylo-li PHP zkompilováno s přibalenou verzà knihovny GD.
| PÅ™edcházejÃcà | Domů | Dalšà |
| imagecolortransparent | Nahoru< |

