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
 
<ImagickDraw::setGravityImagickDraw::setStrokeAlpha>
^ImagickDrawLast updated: Mon, 26 Oct 2026

ImagickDraw::setResolution

(PECL imagick 3 >= 3.1.0)

ImagickDraw::setResolution — Sets the resolution

Description

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

Sets the resolution.

Parameters

resolution_x

resolution_y

Return Values

Returns true on success.


<ImagickDraw::setGravityImagickDraw::setStrokeAlpha>
^ImagickDrawLast updated: Mon, 26 Oct 2026