RESOLVED FIXED 120632
[Qt] Images scaled poorly in canvas
https://bugs.webkit.org/show_bug.cgi?id=120632
Summary [Qt] Images scaled poorly in canvas
Allan Sandfeld Jensen
Reported 2013-09-03 05:40:27 PDT
The WebKit canvas code assumes that antialiasing and average image quality is enabled by default. The Qt ImageBuffer implementation does not however set any default render-hints causing the defaults in the GraphicsContext to be antialiasing and smooth scaling disabled. Ideally these default should follow the render-hints set on the webview, but I don't see how that is possible currently, so let us default the defaults to the default.
Attachments
Patch (1.59 KB, patch)
2013-09-03 05:42 PDT, Allan Sandfeld Jensen
no flags
Patch (2.23 KB, patch)
2013-09-03 07:44 PDT, Allan Sandfeld Jensen
jturcotte: review+
Allan Sandfeld Jensen
Comment 1 2013-09-03 05:40:54 PDT
Allan Sandfeld Jensen
Comment 2 2013-09-03 05:42:46 PDT
Allan Sandfeld Jensen
Comment 3 2013-09-03 07:44:25 PDT
Created attachment 210372 [details] Patch Moved the fix to better defining image-interpolation quality in TextureMapper since that is where the problem is.
Allan Sandfeld Jensen
Comment 4 2013-09-03 08:31:08 PDT
Note You need to log in before you can comment on or make changes to this bug.