This function actually sets the width and height of the image (in pixels).
Took me forever to figure this out.
Imagick::setImageExtent
(PECL imagick 2.0.0)
Imagick::setImageExtent — Sets the image size
Description
bool Imagick::setImageExtent
( int $columns
, int $rows
)
Warning
This function is currently not documented; only its argument list is available.
Sets the image size (i.e. columns & rows).
Parameters
- columns
-
- rows
-
Return Values
Returns TRUE on success.
Errors/Exceptions
Throws ImagickException on error.
Imagick::setImageExtent
tim at komta dot com
19-Oct-2009 07:02
19-Oct-2009 07:02
