added a fast mosaic effect

The example in the documentation page is pretty slow. Too many canvas operations.
A direct manipulation of the image data is much faster.