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
Descrierea
bool Imagick::setImageExtent
( int
$columns
, int $rows
)Sets the image size (i.e. columns & rows).
Parametri
-
columns -
-
rows -
Valorile întoarse
Întoarce TRUE în caz de succes.
Erori/Excepții
Emite ImagickException în caz de eroare.
tim at komta dot com
19-Oct-2009 12:02
