expose information about images on canvas

this patch exposes more information about images and makes it possible to know where they are rendered on the canvas.