Home
My Account
About us
Products
Support Services
Buy online
Downloads
Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
PHP Manual
ImageMagick
Installing/Configuring
Predefined Constants
Examples
Imagick
ImagickDraw
ImagickDrawException
ImagickException
ImagickKernel
ImagickKernelException
ImagickPixel
ImagickPixelException
ImagickPixelIterator
ImagickPixelIteratorException
ImagickPixelException
ImagickPixelIterator::clear
ImageMagick
Last updated: Mon, 26 Oct 2026
The
ImagickPixelIterator
class
(PECL imagick 2, PECL imagick 3)
Class synopsis
class
ImagickPixelIterator
{
public
function
clear
():
bool
public
function
__construct
(
Imagick
$wand
)
public
function
destroy
():
bool
public
function
getCurrentIteratorRow
():
array
public
function
getIteratorRow
():
int
public
function
getNextIteratorRow
():
array
public
function
getPreviousIteratorRow
():
array
public
function
newPixelIterator
(
Imagick
$wand
):
bool
public
function
newPixelRegionIterator
(
Imagick
$wand
,
int
$x
,
int
$y
,
int
$columns
,
int
$rows
):
bool
public
function
resetIterator
():
bool
public
function
setIteratorFirstRow
():
bool
public
function
setIteratorLastRow
():
bool
public
function
setIteratorRow
(
int
$row
):
bool
public
function
syncIterator
():
bool
}
Table of Contents
ImagickPixelIterator::clear
— Clear resources associated with a PixelIterator
ImagickPixelIterator::__construct
— The ImagickPixelIterator constructor
ImagickPixelIterator::destroy
— Deallocates resources associated with a PixelIterator
ImagickPixelIterator::getCurrentIteratorRow
— Returns the current row of ImagickPixel objects
ImagickPixelIterator::getIteratorRow
— Returns the current pixel iterator row
ImagickPixelIterator::getNextIteratorRow
— Returns the next row of the pixel iterator
ImagickPixelIterator::getPreviousIteratorRow
— Returns the previous row
ImagickPixelIterator::newPixelIterator
— Returns a new pixel iterator
ImagickPixelIterator::newPixelRegionIterator
— Returns a new pixel iterator
ImagickPixelIterator::resetIterator
— Resets the pixel iterator
ImagickPixelIterator::setIteratorFirstRow
— Sets the pixel iterator to the first pixel row
ImagickPixelIterator::setIteratorLastRow
— Sets the pixel iterator to the last pixel row
ImagickPixelIterator::setIteratorRow
— Set the pixel iterator row
ImagickPixelIterator::syncIterator
— Syncs the pixel iterator
ImagickPixelException
ImagickPixelIterator::clear
ImageMagick
Last updated: Mon, 26 Oct 2026