\Pop\Image\AdjustGd

Adjust class for Gd

Summary

Methods
Properties
Constants
__construct()
getImage()
setImage()
hasImage()
brightness()
contrast()
desaturate()
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

hasImage()

hasImage() : boolean

Has the image object

Returns

boolean

brightness()

brightness(integer  $amount) : \Pop\Image\Adjust\Gd

Adjust the image brightness

Parameters

integer $amount

Returns

\Pop\Image\Adjust\Gd

contrast()

contrast(integer  $amount) : \Pop\Image\Adjust\Gd

Adjust the image contrast

Parameters

integer $amount

Returns

\Pop\Image\Adjust\Gd

desaturate()

desaturate() : \Pop\Image\Adjust\Gd

Adjust the image desaturate

Returns

\Pop\Image\Adjust\Gd