编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::roundCorners
  • Imagick::scaleImage »
  • PHP Manual
  • Imagick
  • Scales an image with pixel sampling

Imagick::sampleImage

(PECL imagick 2.0.0)

Imagick::sampleImage — Scales an image with pixel sampling

说明

Imagick::sampleImage ( int $columns , int $rows ) : bool

Scales an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image.

参数

columns

rows

返回值

成功时返回 TRUE。

相关文章
php gmagick sets the image sampling factorsphp imagick adds random noise to the imagephp imagick evaluate expression for each pixel in the imagephp imagick returns the format of a particular image in a sequencephp imagick gets the image orientationphp imagick gets the image total ink densityphp imagick imports image pixelsphp imagick scales an image proportionally 2xphp imagick scales an image proportionally to half its sizephp imagick fetch basic attributes about the imagephp imagick reads image from filenamephp imagick scales an imagephp imagick rotates an imagephp imagick scales an image with pixel samplingphp imagick scales the size of an imagephp imagick sets the image interpolate pixel methodphp imagick sets the image matte colorphp imagick sets the image virtual pixel methodphp imagick sets the image sampling factorsphp imagick applies a color vector to each pixel in the image
关注编程学问公众号
编程学问网 湘ICP备20001732号