编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 selects a threshold for each pixel based on a range of intensityphp imagick removes skew from the imagephp imagick set image sizephp imagick evaluate expression for each pixel in the imagephp imagick the filename associated with an image sequencephp imagick gets the extrema for one or more image channelsphp imagick gets the extrema for the imagephp imagick returns the image matte colorphp imagick returns the image length in bytesphp imagick identifies an image and fetches attributesphp imagick scales an image proportionally 2xphp imagick scales an image proportionally to half its sizephp imagick change any pixel that matches colorphp imagick scales 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 virtual pixel methodphp imagick sets the image sampling factorsphp imagick applies a color vector to each pixel in the image
关注编程学问公众号
编程学问网 湘ICP备20001732号