ImagickBackend
class ImagickBackend extends Imagick implements Image_Backend (View source)
Properties
Methods
paddedResize
Convert a percentage (or 'true') to a two char hex code to signifiy the level of an alpha channel
Details
void
__construct(string $filename = null)
__construct
void
writeTo(string $path)
writeTo
static void
set_default_quality(int $quality)
deprecated
deprecated
set_default_quality
void
setQuality(int $quality)
setQuality
void
setImageResource(mixed $resource)
setImageResource
Set the backend-specific resource handling the manipulations. Replaces Image::setGD()
mixed
getImageResource()
getImageResource
Get the backend-specific resource handling the manipulations. Replaces Image::getGD()
bool
hasImageResource()
hasImageResource
bool
imageAvailable(string $filename, string $manipulation)
No description
Image_Backend
resize(int $width, int $height)
resize
Image_Backend
resizeRatio($maxWidth, $maxHeight, $useAsMinimum = false)
resizeRatio
Image_Backend
resizeByWidth(int $width)
resizeByWidth
Image_Backend
resizeByHeight(int $height)
resizeByHeight
Image_Backend
paddedResize(int $width, int $height, $backgroundColor = "FFFFFF", int $transparencyPercent = 0)
paddedResize
string
calculateAlphaHex($percent)
Convert a percentage (or 'true') to a two char hex code to signifiy the level of an alpha channel
Image_Backend
croppedResize(int $width, int $height)
croppedResize
Image_Backend
crop(int $top, int $left, int $width, int $height)
Crop's part of image.
void
onBeforeDelete(Image $frontend)
No description