编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 imagick adds new image to imagick object image listphp imagick clears all resources associated to imagick objectphp imagick 创建缩略图php imagick reduces the speckle noise in an imagephp imagick descriptionphp imagick gets fontphp imagick the getimagechannelkurtosis purposephp imagick returns the filename of a particular image in a sequencephp imagick descriptionphp imagick gets the image ticks per secondphp imagick descriptionphp imagick creates a new image as a copyphp imagick creates a composite imagephp imagick 创建一张图片php imagick changes any pixel that matches color with the color defined by fillphp imagick creates a high contrast two color imagephp imagick offsets an imagephp imagick sets fontphp imagick sets the image composite operator
关注编程学问公众号
编程学问网 湘ICP备20001732号