Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::getsamplingfactorsGmagick::getversion>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::getsize

(PECL gmagick >= Unknown)

Gmagick::getsize — Returns the size associated with the Gmagick object

Description

public function Gmagick::getsize(): array

Returns the size associated with the Gmagick object as an array with the keys "columns" and "rows".

Parameters

This function has no parameters.

Return Values

Returns the size associated with the Gmagick object as an array with the keys "columns" and "rows".

Errors/Exceptions

Throws an GmagickException on error.


<Gmagick::getsamplingfactorsGmagick::getversion>
^GmagickLast updated: Mon, 26 Oct 2026