Imagick
PHP Manual

Imagick::getPixelRegionIterator

(PECL imagick 2.0.0)

Imagick::getPixelRegionIteratorGet an ImagickPixelIterator for an image section

说明

ImagickPixelIterator Imagick::getPixelRegionIterator ( int $x , int $y , int $columns , int $rows )

Get an ImagickPixelIterator for an image section.

参数

x

The x-coordinate of the region.

y

The y-coordinate of the region.

columns

The width of the region.

rows

The height of the region.

返回值

Returns an ImagickPixelIterator for an image section.

错误/异常

错误时抛出 ImagickException .


Imagick
PHP Manual