Imagick::getImageWidth

(PECL imagick 2, PECL imagick 3)

Imagick::getImageWidthReturns the image width

Description

public Imagick::getImageWidth(): int

Returns the image width.

Parameters

This function has no parameters.

Return Values

Returns the image width.

Errors/Exceptions

Throws ImagickException on error.