openlayers/openlayers — pull request #160 by fredj (2012-01-19 14:58:28+00:00)
Title: Tile.Image and canvas

Add a new function to ```OpenLayers.Tile.Image``` to get a canvas context of the image.

This function can be used to [get the image data in a base64 encoding](http://www.w3.org/TR/html5/the-canvas-element.html#dom-canvas-todataurl) (with an optional format conversion), to [save the image](http://www.w3.org/TR/html5/the-canvas-element.html#dom-canvas-toblob) using the File API or to get the [pixel color at a specific position](http://dev.w3.org/html5/2dcontext/#dom-context-2d-getimagedata).