\Pop\Image\AdjustImagick

Adjust class for Imagick

Summary

Methods
Properties
Constants
__construct()
getImage()
setImage()
hasImage()
hue()
saturation()
brightness()
hsb()
level()
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

hue()

hue(integer  $amount) : \Pop\Image\Adjust\Imagick

Method to adjust the hue of the image.

Parameters

integer $amount

Returns

\Pop\Image\Adjust\Imagick

saturation()

saturation(integer  $amount) : \Pop\Image\Adjust\Imagick

Method to adjust the saturation of the image.

Parameters

integer $amount

Returns

\Pop\Image\Adjust\Imagick

brightness()

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

Adjust the image brightness

Parameters

integer $amount

Returns

\Pop\Image\Adjust\Imagick

hsb()

hsb(integer  $h, integer  $s, integer  $b) : \Pop\Image\Adjust\Imagick

Method to adjust the HSB of the image altogether.

Parameters

integer $h
integer $s
integer $b

Returns

\Pop\Image\Adjust\Imagick

level()

level(integer  $black, float  $gamma, integer  $white) : \Pop\Image\Adjust\Imagick

Method to adjust the levels of the image using a 0 - 255 range.

Parameters

integer $black
float $gamma
integer $white

Returns

\Pop\Image\Adjust\Imagick

contrast()

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

Adjust the image contrast

Parameters

integer $amount

Returns

\Pop\Image\Adjust\Imagick