PHP - Manual: Gmagick::setimageunits
2024-11-14
(PECL gmagick >= Unknown)
Gmagick::setimageunits — Sets the image units of resolution
$resolution
Sets the image units of resolution.
resolution
One of the Resolution constant (Gmagick::RESOLUTION_*).
Gmagick::RESOLUTION_*
The Gmagick object.
错误时抛出 GmagickException。
官方地址:https://www.php.net/manual/en/gmagick.setimageunits.php