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

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


layer.getPixel(x, y)

Returns cq.color of selected pixel


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