[Webkit-unassigned] [Bug 37304] WebKit does not support jpeg qulaity in canvas.toDataURL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 11 19:01:15 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37304





--- Comment #24 from Leo Yang <leo.yang at torchmobile.com.cn>  2010-05-11 19:01:13 PST ---
(In reply to comment #23)
> Could this be done without custom bindings?
> 
> Just take an optional double and then do the equivalent of
> 
>   if (!(0.0 <= quality && quality <= 1.0))
>       quality = 1.0;
> 
> in CanvasSurface::toDataURL?
It can't. Just as I said in comment #19, we need to check the real type of quality parameter.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list