JImage::resize
Method to resize the current image.
Signature
public function resize(mixed
$width,
[mixed
$height = true,
[boolean
$createNew = true,
[integer
$scaleMethod = self::SCALE_INSIDE]]] )
Parameters
-
$width
- The width of the resized image in pixels or a percentage.
-
$height
- The height of the resized image in pixels or a percentage.
-
$createNew
- If true the current image will be cloned, resized and returned; else
-
$scaleMethod
- Which method to use for scaling
Returns
- JImage
Errors/Exceptions
-
LogicException