PHP » GoLang |
login |
register |
about
|
GoLang Imagick::getSize
request it (579)
GoLang replacement for PHP's Imagick::getSize
[edit | history]
Imagick::getSize(PECL imagick 2.0.0) Imagick::getSize — Returns the size associated with the Imagick object Description
array Imagick::getSize
( void
)
Get the size in pixels associated with the Imagick object, previously set by Imagick::setSize().
Return ValuesReturns the size associated with the Imagick object as an array with the keys "columns" and "rows". Examples
Example #1 Getting the size of a raw RGB image set at 200x400, after scaling to 400x800 (compared to width / height)
<?phpThe above example will output:
Array
(
[columns] => 200
[rows] => 400
)
400x800
|
more
Most requested
more
Last requests
|