I'm working on a minimalist image creation project and I need to have the ability to create images within the browser that are in-turn used on a server. So far, the Canvas.toDataUrl()
method has met our needs, but I just learned of the Canvas.toBlob()
method which would be much more convenient.
It appears that the toBlob()
method is new to the specification by a few months (I can't find any direct reference to when it was added.)
What browsers support toBlob
and more importantly which versions of those browsers included the integration of the method? Additionally, is support for this feature "buggy" or in development for any major browsers?
UPDATE
I asked this question nearly 8 year ago. I had tabled my previous mentioned project, waiting for any updates on the status of the canvas.toBlob()
method. From what I can gather on the web, implementation of toBlob()
appears to be trickling into use across some browsers.
I ask once again, how ubiquitous is the canvas.toBlob()
method amongst browsers that have begun integrating the HTML5 canvas object and which versions of those browsers were the first to integrate this support?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…