PHP 5.6.0 released

Imagick::setImageExtent

(PECL imagick 2.0.0)

Imagick::setImageExtentSets the image size

Beschreibung

bool Imagick::setImageExtent ( int $columns , int $rows )

Sets the image size (i.e. columns & rows).

Parameter-Liste

columns

rows

R├╝ckgabewerte

Liefert TRUE bei Erfolg.

Fehler/Exceptions

Wirft ImagickException bei Fehlern.

add a note add a note

User Contributed Notes 1 note

up
1
tim at komta dot com
4 years ago
This function actually sets the width and height of the image (in pixels).

Took me forever to figure this out.
To Top