ImagickBackend
class ImagickBackend extends Imagick implements Image_Backend
Config options
| default_quality | int |
Methods
__construct
writeTo
setQuality
setImageResource
getImageResource
hasImageResource
No description
resize
resizeRatio
resizeByWidth
resizeByHeight
paddedResize
Convert a percentage (or 'true') to a two char hex code to signifiy the level of an alpha channel
croppedResize
Crop's part of image.
Details
at line 23
void
__construct(string $filename = null)
__construct
at line 36
void
writeTo(string $path)
writeTo
at line 49
static void
set_default_quality(int $quality)
deprecated
deprecated
set_default_quality
at line 62
void
setQuality(int $quality)
setQuality
at line 74
void
setImageResource(mixed $resource)
setImageResource
Set the backend-specific resource handling the manipulations. Replaces Image::setGD()
at line 85
mixed
getImageResource()
getImageResource
Get the backend-specific resource handling the manipulations. Replaces Image::getGD()
at line 94
boolean
hasImageResource()
hasImageResource
at line 105
boolean
imageAvailable(string $filename, string $manipulation)
at line 116
Image_Backend
resize(int $width, int $height)
resize
at line 148
Image_Backend
resizeRatio($maxWidth, $maxHeight, $useAsMinimum = false)
resizeRatio
at line 171
Image_Backend
resizeByWidth(int $width)
resizeByWidth
at line 188
Image_Backend
resizeByHeight(int $height)
resizeByHeight
at line 207
Image_Backend
paddedResize($width, $height, $backgroundColor = "FFFFFF", $transparencyPercent)
paddedResize
at line 233
string
calculateAlphaHex($percent)
Convert a percentage (or 'true') to a two char hex code to signifiy the level of an alpha channel
at line 253
Image_Backend
croppedResize(int $width, int $height)
croppedResize
at line 287
Image_Backend
crop(int $top, int $left, int $width, int $height)
Crop's part of image.