New issue
Advanced search Search tips
Starred by 22 users

Issue metadata

Status: Duplicate
Merged: issue 67587
Owner:
Closed: Aug 2011
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Restricted
  • Only users with Commit permission may comment.



Sign in to add a comment
link

Issue 83103: Implement canvas.toBlob

Reported by ericbidelman@chromium.org, May 18 2011 Project Member

Issue description

Comment 1 by karen@chromium.org, Jun 1 2011

Labels: Mstone-X

Comment 2 by mikelawther@chromium.org, Aug 12 2011

Owner: noel@chromium.org
Status: Assigned
@noel - can you take a look at implementing this?

Comment 3 by noel@chromium.org, Aug 15 2011

Mergedinto: 67587
Status: Duplicate

Comment 4 by noel@chromium.org, Aug 17 2011

@eric: what's the compelling use-case here?  And why add an async api to canvas (canvas is a sync api)?

Comment 5 by ise...@gmail.com, Aug 17 2011

Not freezing up the browser when you try to save a 1080p full-browser canvas.

Comment 6 by ericbide...@html5rocks.com, Aug 17 2011

There are a couple of easy use cases, but mainly, this wil allow better inter-op with the newer file APIs. 

I have a photo editing/drawing app. Here are a few scenarios:
1. toBlob() a canvas and send that blob using xhr2.send(blob) to my server for a save
2. toBlob() a canvas and save that blog to the HTML5 filesystem
3. toBlob() a canvas, create a blob url (createObjectUrl()), and display a link for users to download their creation on the client (using the new <a download> attribute.

All of these are possible now, but it requires unnecessary and inefficient transformations of the canvas data to/from dataURLs, etc.

Comment 7 by bugdroid1@chromium.org, Oct 13 2012

Project Member
Labels: Restrict-AddIssueComment-Commit
Mergedinto: chromium:67587
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.

Comment 8 by bugdroid1@chromium.org, Mar 11 2013

Project Member
Labels: -Area-WebKit Cr-Content

Comment 9 by bugdroid1@chromium.org, Apr 6 2013

Project Member
Labels: -Cr-Content Cr-Blink

Sign in to add a comment