W3cubDocs

/PHP

ImagickDraw::setResolution

(PECL imagick 3 >= 3.1.0)

ImagickDraw::setResolutionSets the resolution

Description

public ImagickDraw::setResolution(float $resolution_x, float $resolution_y): bool

Sets the resolution.

Parameters

resolution_x
resolution_y

Return Values

Returns true on success.

© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagickdraw.setresolution.php