\Pop\Image\FilterGd

Filter class for Gd

Summary

Methods
Properties
Constants
__construct()
getImage()
setImage()
blur()
sharpen()
negate()
colorize()
pixelate()
pencil()
No public properties found
No constants found
No protected methods found
$image
N/A
No private methods found
No private properties found
N/A

Properties

Methods

blur()

blur(integer  $amount, integer  $type = IMG_FILTER_GAUSSIAN_BLUR) : \Pop\Image\Filter\Gd

Blur the image

Parameters

integer $amount
integer $type

Returns

\Pop\Image\Filter\Gd

sharpen()

sharpen(integer  $amount) : \Pop\Image\Filter\Gd

Sharpen the image.

Parameters

integer $amount

Returns

\Pop\Image\Filter\Gd

negate()

negate() : \Pop\Image\Filter\Gd

Create a negative of the image

Returns

\Pop\Image\Filter\Gd

colorize()

colorize(integer  $r, integer  $g, integer  $b) : \Pop\Image\Filter\Gd

Colorize the image

Parameters

integer $r
integer $g
integer $b

Returns

\Pop\Image\Filter\Gd

pixelate()

pixelate(integer  $px) : \Pop\Image\Filter\Gd

Pixelate the image

Parameters

integer $px

Returns

\Pop\Image\Filter\Gd

pencil()

pencil() : \Pop\Image\Filter\Gd

Apply a pencil/sketch effect to the image

Returns

\Pop\Image\Filter\Gd