ResizeOption uses ConstantsTrait
Enumeration of the option keys accepted by {@see oihana\controllers\traits\ImageTrait::resize()} (and the image geometry keys).
Tags
Table of Contents
Constants
- HEIGHT : string = 'height'
- The current image height, as returned by `Imagick::getImageGeometry()`.
- MAX_HEIGHT : string = 'maxHeight'
- The maximum allowed height; larger images are scaled down. Default: 1200.
- MAX_WIDTH : string = 'maxWidth'
- The maximum allowed width; larger images are scaled down. Default: 1920.
- WIDTH : string = 'width'
- The current image width, as returned by `Imagick::getImageGeometry()`.
Constants
HEIGHT
The current image height, as returned by `Imagick::getImageGeometry()`.
public
string
HEIGHT
= 'height'
MAX_HEIGHT
The maximum allowed height; larger images are scaled down. Default: 1200.
public
string
MAX_HEIGHT
= 'maxHeight'
MAX_WIDTH
The maximum allowed width; larger images are scaled down. Default: 1920.
public
string
MAX_WIDTH
= 'maxWidth'
WIDTH
The current image width, as returned by `Imagick::getImageGeometry()`.
public
string
WIDTH
= 'width'