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 — Establece el tamaño de una imagen
Descripción
bool Imagick::setImageExtent
( int
$columns
, int $rows
)Establece el tamaño de una imagen (p.ej. columnas y filas).
Parámetros
-
columns -
-
rows -
Valores devueltos
Devuelve TRUE en caso de éxito.
Errores/Excepciones
Lanza ImagickException en caso de error.
tim at komta dot com ¶
3 years ago
