Method |
Description |
|
__clone ( ) |
|
|
__construct ( Imagick $imagick, string $imageFile, integer $width, integer $height, string $type, boolean $animated = false ) |
Image constructor. |
|
blob ( string | ImageType $type = 'PNG' ) |
Output a binary raw dump of an image in a specified format. |
|
createBlank ( integer $width = 1, integer $height = 1 ) : self |
Create a blank image. |
|
createFromCore ( Imagick $imagick ) : Image |
Create an Image from an instance of Imagick. |
|
createFromFile ( $imageFile ) : Image |
|
|
getCore ( ) : Imagick |
Get Imagick instance |
|
getHeight ( ) : integer |
Get image height in pixels. |
|
getImageFile ( ) : string |
Get image file path. |
|
getType ( ) : string |
Get image type. |
|
getWidth ( ) : integer |
Get image width in pixels. |
|
histogram ( array | null $slice = null ) : array |
Get histogram from an entire image or its sub-region. |
|
isAnimated ( ) : boolean |
Returns animated flag. |
|