Open Bug 1922885 Opened 2 months ago Updated 1 month ago

Big SVG image is rendered as pixelated image when <img> tag is used

Categories

(Core :: Graphics: WebRender, defect)

Firefox 131
defect

Tracking

()

People

(Reporter: berupon, Unassigned, NeedInfo)

References

Details

Attachments

(3 files)

Attached file firefox_svg.7z

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0

Steps to reproduce:

  • Open attached files with Firefox

Actual results:

  • An SVG image looks pixelated and blurry only on img_svg.html

Expected results:

  • Sharp and crispy SVG image needs to be rendered.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: ImageLib' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: ImageLib
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Component: Graphics: ImageLib → Graphics: WebRender
Ever confirmed: true

I can reproduce this on my MacOS workstation. Contrary to what the bug mentioned in comment 2 may imply, this does not seem specific to Windows.

Flags: needinfo?(gwatson)

Added some images to demonstrate the defect I am observing. A hint for somebody trying to repro by themself: This SVG's contents are not immediately visible when served, because there's a lot of negative space in the SVG. One needs to scroll towards the center of the content horizontally and vertically.

Tentatively triaging as S3, with escalation to triage for confirmation of priority.

Blocks: gfx-triage
Severity: -- → S3

Sounds similar to bug 1712702.

See Also: → 1712702

Probably blob related, any ideas Nical or Tim?

Flags: needinfo?(tnikkel)
Flags: needinfo?(nical.bugzilla)
Flags: needinfo?(gwatson)

I'm not familiar with the code that decides the resolution to render blobs at. It's somewhere in the displaylist building code.

Flags: needinfo?(nical.bugzilla)
No longer blocks: gfx-triage
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: