编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 scales the size of an imagephp imagick replaces colors in the imagephp imagick applies a custom convolution kernel to the imagephp imagick evaluate expression for each pixel in the imagephp imagick returns the image profilesphp imagick scales an image proportionally 2xphp imagick scales an image proportionally to half its sizephp imagick negates the colors in the reference imagephp imagick reduces the image to a limited number of color levelphp imagick recolors imagephp imagick scales an imagephp imagick scales an image with pixel samplingphp imagick scales the size of an imagephp imagick set image artifactphp imagick sets the image disposal methodphp 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 imagephp imagick returns the image as a string
关注编程学问公众号
编程学问网 湘ICP备20001732号