jquery - How to create a progressive jpeg with html5 canvas.toDataURL -


how create progressive jpeg image using canvas.todataurl?

my code

canvas.todataurl('image/jpeg',0.9) 

i found parameters, none of them worked.

todataurl(“image/jpeg”, {               quality: 0..1,               grayscale: true/false,     // since jpeg format     supports grayscale images @ smaller files sizes               progressive: true/false  } 

from http://comments.gmane.org/gmane.org.w3c.whatwg.help/1189

did not work me :(

unfortunately, not supported standard:
http://www.w3.org/tr/2011/wd-html5-20110405/the-canvas-element.html#dom-canvas-todataurl


Comments