©
This document uses PHP Chinese website manual Release
(PECL gmagick >= Unknown)
Gmagick::setimageunits — Sets the image units of resolution.
$resolution
)Sets the image units of resolution.
resolution
The image units of resolution : Undefinedresolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.
The Gmagick object on success.
错误时抛出 GmagickException。