OSDN Git Service

Under-the-hood improvements to Device Art Generator.
authorRoman Nurik <romannurik@google.com>
Fri, 26 Jul 2013 18:13:44 +0000 (11:13 -0700)
committerRoman Nurik <romannurik@google.com>
Fri, 26 Jul 2013 18:46:16 +0000 (18:46 +0000)
commitdf16ce481cf1c8a1aef37133d72f5794c56a5a8b
tree7c26b3859239f85348464e11238ba1c6260bada8
parent02dcb55a2265c59c793bc1c1c7cdadb4cf0573ae
Under-the-hood improvements to Device Art Generator.

Use Canvas.toBlob with a polyfill, to avoid img src with massive data URLs, which causes some browsers to crash

Also change the resulting filename to be more appropriate, and make dragging-out to your desktop use this filename.

Change-Id: I13d8b4e119af8fecf567ecd6ccf3bb3e7b2d0fae
(cherry picked from commit 9da49f160612433e8ba562796ca5d6486ab48d83)
docs/html/distribute/promote/device-art.jd