编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::cropImage
  • Imagick::current »
  • PHP Manual
  • Imagick
  • 创建缩略图

Imagick::cropThumbnailImage

(PECL imagick 2.0.0)

Imagick::cropThumbnailImage — 创建缩略图

说明

Imagick::cropThumbnailImage ( int $width , int $height ) : bool

首先将图片放大或者缩小,然后从图片的中间裁剪到指定的的大小。

参数

width

缩略图的宽

height

缩略图的高

返回值

成功时返回 TRUE。

错误/异常

错误时抛出 ImagickException。

相关文章
php fann 函数 创建一个标准的反向传播神经网络,该网络不是全连接。php gd 和图像处理 函数 由文件或 url 创建一个新图象。php imagick adaptively sharpen the imagephp imagick removes a region of an image and trimsphp imagick compares an image to a reconstructed imagephp imagick 创建缩略图php imagick descriptionphp imagick exports raw image pixelsphp imagick returns the imagemagick api copyright as a stringphp imagick gets channel distortionsphp imagick compares an image to a reconstructed imagephp imagick return if the image has a matte channelphp imagick generates an sha 256 message digestphp imagick get an imagickpixeliterator for an image sectionphp imagick descriptionphp imagick scales an image proportionally to half its sizephp imagick 创建一张图片php imagick changes the color value of any pixel that matches targetphp mongoid 创建一个新的idphp yar server 创建一个http rpc server
关注编程学问公众号
编程学问网 湘ICP备20001732号