编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Gmagick::__construct
  • Gmagick::cropthumbnailimage »
  • PHP Manual
  • Gmagick
  • Extracts a region of the image

Gmagick::cropimage

(PECL gmagick >= Unknown)

Gmagick::cropimage — Extracts a region of the image

说明

public Gmagick::cropimage ( int $width , int $height , int $x , int $y ) : Gmagick

Extracts a region of the image.

参数

width

The width of the crop

height

The height of the crop

x

The X coordinate of the cropped region's top left corner

y

The Y coordinate of the cropped region's top left corner

返回值

The cropped Gmagick object

错误/异常

错误时抛出 GmagickException。

相关文章
php gmagick removes a region of an image and trimsphp gmagick adds a comment to your imagephp gmagick composite one image onto anotherphp gmagick extracts a region of the imagephp gmagick equalizes the image histogramphp gmagick creates a vertical mirror imagephp gmagick gets the depth of the imagephp gmagick gets the image disposal methodphp gmagick gets the extrema for the imagephp gmagick gets the image rendering intentphp gmagick gets the image x and y resolutionphp gmagick gets the image scenephp gmagick creates a new image as a copyphp gmagick adds a label to an imagephp gmagick analyzes the colors within a reference imagephp gmagick scales an imagephp gmagick offsets an imagephp gmagick sets the filename of a particular image in a sequencephp gmagick sets the format of a particular imagephp imagick extracts a region of the image
关注编程学问公众号
编程学问网 湘ICP备20001732号