Results 1 to 1 of 1
- 01-03-2013, 01:07 AM
Thread Author #1
Problem with canavs toDataUrl in IOS6
I am using HTML5 canvas to draw some scribble on canvas.
Used toDataUrl() method to convert the drawn scribble into string (Base64) and then re-using that string for setting background of some div.
Here is partial code:-
var dataString = this.canvas.get(0).toDataURL("image/jpeg");
$("#someElt").css({'background':'url(' + dataString + ') no-repeat center #000'});
I am seeing a blank image.
This code is also working perfectly on IOS-5.
Can anybody put some light on this ? What could be the issue ?
Similar Threads
-
Annoying Problems with Itunes Match in iOS6
By csal80 in forum iTunesReplies: 0Last Post: 10-27-2012, 11:14 AM -
Problems with SDHC Cards in MPB
By Fausty82 in forum OS XReplies: 2Last Post: 02-21-2012, 01:20 AM -
In Car problems with Map
By chitchat in forum iPhone 4Replies: 5Last Post: 12-17-2009, 08:15 AM -
Problem with brother in laws iPhone
By cjvitek in forum iPhone 4Replies: 6Last Post: 01-24-2009, 10:34 PM -
Problem with sync in iTune. Paid apps not listed on itune
By gillesb in forum iPhone 4Replies: 1Last Post: 12-25-2008, 12:40 PM
LinkBack URL
About LinkBacks
Reply
































