Imagick
extends AbstractAdjust
in package
Adjust class for Imagick
Tags
Table of Contents
- $image : mixed
- Image object
- __construct() : mixed
- Constructor
- brightness() : Imagick
- Adjust the image brightness
- contrast() : Imagick
- Adjust the image contrast
- desaturate() : Imagick
- Adjust the image desaturate
- getImage() : AbstractAdapter
- Get the image object
- hasImage() : bool
- Has the image object
- hsb() : Imagick
- Method to adjust the HSB of the image altogether.
- hue() : Imagick
- Method to adjust the hue of the image.
- level() : Imagick
- Method to adjust the levels of the image using a 0 - 255 range.
- saturation() : Imagick
- Method to adjust the saturation of the image.
- setImage() : AbstractEditObject
- Set the image object
Properties
$image
Image object
protected
mixed
$image
= null
Methods
__construct()
Constructor
public
__construct([AbstractAdapter $image = null ]) : mixed
Instantiate an image edit object
Parameters
- $image : AbstractAdapter = null
Return values
mixed —brightness()
Adjust the image brightness
public
brightness(int $amount) : Imagick
Parameters
- $amount : int
Return values
Imagick —contrast()
Adjust the image contrast
public
contrast(int $amount) : Imagick
Parameters
- $amount : int
Return values
Imagick —desaturate()
Adjust the image desaturate
public
desaturate() : Imagick
Return values
Imagick —getImage()
Get the image object
public
getImage() : AbstractAdapter
Return values
AbstractAdapter —hasImage()
Has the image object
public
hasImage() : bool
Return values
bool —hsb()
Method to adjust the HSB of the image altogether.
public
hsb(int $h, int $s, int $b) : Imagick
Parameters
- $h : int
- $s : int
- $b : int
Return values
Imagick —hue()
Method to adjust the hue of the image.
public
hue(int $amount) : Imagick
Parameters
- $amount : int
Return values
Imagick —level()
Method to adjust the levels of the image using a 0 - 255 range.
public
level(int $black, float $gamma, int $white) : Imagick
Parameters
- $black : int
- $gamma : float
- $white : int
Return values
Imagick —saturation()
Method to adjust the saturation of the image.
public
saturation(int $amount) : Imagick
Parameters
- $amount : int
Return values
Imagick —setImage()
Set the image object
public
setImage(AbstractAdapter $image) : AbstractEditObject
Parameters
- $image : AbstractAdapter