Imagick::setResolution

(PECL imagick 2.0.0)

Imagick::setResolutionSets the image resolution

说锟斤拷

Imagick::setResolution ( float $x_resolution , float $y_resolution ) : bool

Sets the image resolution.

锟斤拷锟斤拷

x_resolution

The horizontal resolution.

y_resolution

The vertical resolution.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷

注锟斤拷

Imagick::setResolution() must be called before loading or creating an image.

锟轿硷拷