SVG containing downsized image displayed with img tag has pixel aliasing (flutter.dev logo)
Categories
(Core :: Graphics: ImageLib, defect, P3)
Tracking
()
People
(Reporter: ke5trel, Assigned: aosmond)
References
Details
Attachments
(2 files)
Bug 1534188 improved raster image downsizing for SVGs (confirmed in Bug 1538180), however if the SVG is displayed with an img
tag like the flutter.dev logo it still has pixel aliasing.
Comment 1•5 years ago
|
||
The priority flag is not set for this bug.
:aosmond, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 3•5 years ago
•
|
||
Sorry this took longer than I thought. When we rasterize the SVG image into its own buffer:
We actually forget the FLAG_HIGH_QUALITY_SCALING. We should probably pass that through as PaintFrameFlags::ToWindow to ensure the lower levels get the flag set as expected.
Assignee | ||
Comment 4•5 years ago
|
||
We did not pass FLAG_HIGH_QUALITY_SCALING down to the document used to
rasterize the SVG to a surface, resulting in embedded raster images to
not use high quality downscaling.
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
new try after rewriting to use a dedicated flag in various places: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9c5345ff57eaafede8ac1838ece04fd048e5390a
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 8•4 years ago
|
||
needinfo to make sure this doesn't drop off the radar
Assignee | ||
Comment 9•4 years ago
|
||
Just waiting for it to be picked up by autoland.
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Comment 12•4 years ago
|
||
Reproduced the issue with Firefox Nightly 68.0a (2019-05-10) on Windows 10x64.
Verified as fixed with Firefox 80.0a1 and Firefox 79.0b3 on Windows 10x64, Ubuntu 16.4 and macOS 10.13.
Updated•4 years ago
|
Description
•