ImagickPixelIterator::__construct The ImagickPixelIterator constructor &reftitle.description; ImagickPixelIterator::__construct Imagickwand &warn.undocumented.func; The ImagickPixelIterator constructor &reftitle.returnvalues; &imagick.return.success; &reftitle.examples; <function>ImagickPixelIterator::construct</function> $pixel) { /** @var $pixel \ImagickPixel */ if ($column % 2) { /* Paint every second pixel black*/ $pixel->setColor("rgba(0, 0, 0, 0)"); } } /* Sync the iterator, this is important to do on each iteration */ $imageIterator->syncIterator(); } header("Content-Type: image/jpg"); echo $imagick; } ?> ]]>