META-INF.resources.bower_components.blueimp-canvas-to-blob.js.canvas-to-blob.min.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwebmp-blueimp-fileupload Show documentation
Show all versions of jwebmp-blueimp-fileupload Show documentation
File Upload widget with multiple file selection, drag and drop support, progress bar, validation and preview images, audio and video for jQuery.
Supports cross-domain, chunked and resumable file uploads.
Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.
(function(d){var e=d.HTMLCanvasElement&&d.HTMLCanvasElement.prototype;var c=d.Blob&&(function(){try{return Boolean(new Blob())}catch(h){return false}})();var f=c&&d.Uint8Array&&(function(){try{return new Blob([new Uint8Array(100)]).size===100}catch(h){return false}})();var b=d.BlobBuilder||d.WebKitBlobBuilder||d.MozBlobBuilder||d.MSBlobBuilder;var g=/^data:((.*?)(;charset=.*?)?)(;base64)?,/;var a=(c||b)&&d.atob&&d.ArrayBuffer&&d.Uint8Array&&function(k){var m,r,h,n,j,o,q,l,p;m=k.match(g);if(!m){throw new Error("invalid data URI")}r=m[2]?m[1]:"text/plain"+(m[3]||";charset=US-ASCII");h=!!m[4];n=k.slice(m[0].length);if(h){j=atob(n)}else{j=decodeURIComponent(n)}o=new ArrayBuffer(j.length);q=new Uint8Array(o);for(l=0;l
© 2015 - 2025 Weber Informatics LLC | Privacy Policy