Re: SVGSVGElement.toDataURL()

On 03/11/2013 03:22 PM, Robert Longson wrote:
> Looks pretty much cross browser to me according to the final row here:
The test you are referring to uses an SVG image as src attribute for the 
HTMLImageElement that gets passed to Canvas drawImage. This is of course 
valid according to the canvas specification but not what I was referring 
to. I would like to use SVGSVGElement directly as source for drawImage 
or even better SVGSVGElement.toDataURL to skip all the intermediate 
steps needed to convert from SVG to raster. The browser has done this 
conversion already when it displays my SVG content, so why not allow to 
export it as raster as well?



Received on Tuesday, 12 March 2013 07:55:25 UTC