编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 imagick adds adaptive blur filter to imagephp imagick returns certain pixel differences between imagesphp imagick evaluate expression for each pixel in the imagephp imagick gets the depth for a particular image channelphp imagick gets the image depthphp imagick returns all image sequences as a blobphp imagick scales an image proportionally 2xphp imagick scales an image proportionally to half its sizephp imagick resample image to desired resolutionphp imagick scales an imagephp imagick scales an image with pixel samplingphp imagick scales the size of an imagephp imagick sets the depth of a particular image channelphp imagick sets the image interpolate pixel methodphp imagick sets the image typephp imagick sets the image virtual pixel methodphp imagick sets the image sampling factorsphp imagick hides a digital watermark within the imagephp imagick applies a color vector to each pixel in the imagephp imagick discards all but one of any pixel color
关注编程学问公众号
编程学问网 湘ICP备20001732号