\ImageFunctionsExtension
Synopsis
class ImageFunctionsExtension
extends DataExtension
{
- // methods
- public Image RatioCrop()
- public Image_Backend generateRatioCrop()
Hierarchy
Extends
- DataExtension
Methods
public
- RatioCrop() — Resize the image by preserving aspect ratio, keeping the image inside the $width and $height then cropping to the exact $width and $height.
- generateRatioCrop() — Resize the image by preserving aspect ratio, keeping the image inside the $width and $height then cropping to the exact $width and $height.