Prev
MagickWand For PHP
Manual


Next

NewPixelRegionIterator

NewPixelRegionIterator -- returns a new PixelIterator resource.

Description

PixelIterator NewPixelRegionIterator( MagickWand mgck_wnd, int x, int y, int columns, int rows )

Returns a new PixelIterator resource, that is based on a specific region of the current active image of the specified MagickWand. The derived PixelIterator is based on the region of the current active image of the MagickWand mgck_wnd, that is defined as having its origin at the point (x, y), with its width = "columns", and its height = "rows".


A description of each parameter follows:

mgck_wnd The MagickWand that the Pixeliterator is to be derived from.
x The x ordinate of the pixel at the top left corner of the pixel region you wish to iterate through
y The y ordinate of the pixel at the top left corner of the pixel region you wish to iterate through
columns The width of the pixel region you wish to iterate through
rows The height of the pixel region you wish to iterate through


Prev
NewPixelIterator
Up Next
NewPixelWand