WideImage logo

WideImage Wiki : opApplyConvolution

MainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
SourceForge.net Logo

wiImage::applyConvolution()

See: List of operations

Signature

wiImage::applyConvolution($matrix, $div, $offset)

Parameters



Description

This method returns a copy of the image with a convolution matrix applied. See imageconvolution() for details.

Examples

// emboss an image
$matrix = array(array(2, 0, 0), array(0, -1, 0), array(0, 0, -1));
$embossed = $img->applyConvolution($matrix, 1, 127);



CategoryDocApi

There are no comments on this page. [Add comment]

WideImage - an Object-Oriented PHP Image Library for Image manipulation
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.1644 seconds