html5 - I am looking to save a canvas as a blob in mySql blob field -


the toblob method of canvas doesn't seem work me, have used todataurl , sent data produces controller ajax, i've put data in2 byte [] convert 2 blob data changes data:image/png;base64,ivborw0kggoaaaansuheu.... array of numbers [100, 97, 116, 97, 58, 105, 109, 97, 103, 101, 47, 112, 110... so, when calling blob change byte [] of numbers original data. possible , if please give me advise on how it, thanks

please see wrote here on matter. i'll paste below convenience. short answer toblob new use, , because in spec doesn't mean ready.

toblob() really new , not recommend using in consumer app unless can explicitly ask them use particular browser (or else control environment).

toblob() added on may 12th , of limited functionality as-defined. not exist in chrome nightly, firefox nightly, nor ie9.

it worth noting firefox have functional mozgetasfile

there yet discussion adding chrome.

the discussion firefox. have decided wait until spec more clear before attempt implementation.

the spec toblob() vague lot of internal questions still unresolved. aren't sure params allow typical toblobl() use yet.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -