This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function gotPic(data) { | |
window.resolveLocalFileSystemURI(data, function(entry) { | |
var reader = new FileReader(); | |
reader.onloadend = function(evt) { | |
var byteArray = new Uint8Array(evt.target.result); | |
var output = new Array( byteArray.length ); | |
var i = 0; |