[Webkit-unassigned] [Bug 55878] [Gtk] toDataURL uses incorrect quality value when saving GdkPixbuf to buffer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 7 07:44:12 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=55878
Zan Dobersek <zandobersek at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #84944| |review?, commit-queue?
Flag| |
--- Comment #1 from Zan Dobersek <zandobersek at gmail.com> 2011-03-07 07:44:12 PST ---
Created an attachment (id=84944)
--> (https://bugs.webkit.org/attachment.cgi?id=84944&action=review)
Put quality into an appropriate range.
This patch multiplies quality variable, which is originally in range [0.0, 1.0] by 100.0 to ensure it is in the correct range of [0, 100], as seen in gdk_pixbuf_save function documentation[1].
[1] http://library.gnome.org/devel/gdk-pixbuf/2.22/gdk-pixbuf-file-saving.html#gdk-pixbuf-save
--
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