You should be able to alter a few parts of the returned ImageData and then load it back in to the canvas with loadImagePixelData()
.
Oh yeah I'm already doing that, but I want to keep a puzzle piece in each Canvas (I have 16 pieces). So I need to know exactly when a row of the image ends in the buffer if that's possible, thanx! :D