\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

$image

$image : mixed

Image object

Type

mixed

Methods

__construct()

__construct(\Pop\Image\Adapter\AbstractAdapter  $image = null) 

Constructor

Instantiate an image edit object

Parameters

\Pop\Image\Adapter\AbstractAdapter $image

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

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