Pixelate – rasterize a given image

This implementation uses the browsers algorythms for the IMG element. To get a rasterized image, it it first shrinked to a certain size and then enlarged again, while image smoothing is disabled.