resize()
resize(integer $width, integer $height, boolean $maintainRatio = false, string $masterDim = 'auto')
Resize the image
Parameters
integer | $width | |
integer | $height | |
boolean | $maintainRatio | If true, will get the closest match possible while keeping aspect ratio true. |
string | $masterDim |