1. blunderboy's Avatar
    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 ?
    01-03-2013 01:07 AM

Similar Threads

  1. Replies: 0
    Last Post: 10-27-2012, 11:14 AM
  2. Problems with SDHC Cards in MPB
    By Fausty82 in forum OS X / macOS
    Replies: 2
    Last Post: 02-21-2012, 01:20 AM
  3. In Car problems with Map
    By chitchat in forum iPhone 4
    Replies: 5
    Last Post: 12-17-2009, 08:15 AM
  4. Problem with brother in laws iPhone
    By cjvitek in forum iPhone 4
    Replies: 6
    Last Post: 01-24-2009, 10:34 PM
  5. Replies: 1
    Last Post: 12-25-2008, 12:40 PM