This page is work-in-progress. You can reach me on twitter or mail to rezoner1337@gmail.com

If you want to manipulate a lot of pixels in one batch you should use getImageData, setImageData instead;

getPixel

layer.getPixel(x, y)

Returns cq.color of selected pixel

setPixel

layer.setPixel(color, x, y)

Puts a pixel at desired location



Have any questions? Don't hesitate to ask:

Post issues on github, support my work on gratipay author rezoner