simple demo that transforms an image pixelwise to svg-rects via canvas