GDHandler.php
system/Images/Handlers/GDHandler.php
1 class
16 methods
class GDHandler
Image handler for GD package
__construct
($config = null)
_rotate
(int $angle)
_flatten
(int $red = 255, int $green = 255, int $blue = 255)
_flip
(string $direction)
getVersion
()
_resize
(bool $maintainRatio = false)
_crop
()
process
(string $action)
save
(?string $target = null, int $quality = 90)
createImage
(string $path = '', string $imageType = '')
ensureResource
()
getImageResource
(string $path, int $imageType)
_text
(string $text, array $options = [])
textOverlay
(string $text, array $options = [], bool $isShadow = false)
_getWidth
()
_getHeight
()