Open
Bug 1679514
Opened 4 years ago
Updated 3 years ago
The background image has a really low quality when the "Save to PDF" option is used
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
NEW
People
(Reporter: obotisan, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [print2020] [old-ui-] )
Attachments
(1 file)
(deleted),
image/png
|
Details |
Affected versions
- Firefox 84.0b5-build1
- Firefox 85.0a1
Affected platforms
- Windows 10 x64
- macOS 10.15
- Ubuntu 16.04 x32
- Windows 10 x64 (aarch64)
Steps to reproduce
- Go to https://www.htmldog.com/examples/pullquotes2.html
- Print preview the page.
- Enable the "Print backgrounds" option.
- Save the page by using "Save to PDF".
Expected result
- The background image has the same quality as in the Print preview.
Actual result
- The background image has a really low quality.
Regression range
- First bad revision: d6ae04588d3425c058afc56a47ba5345167ea04b
- Last good revision: 94982363dfa4b5bde758cf1442a9166dc07c16fb
- Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=94982363dfa4b5bde758cf1442a9166dc07c16fb&tochange=d6ae04588d3425c058afc56a47ba5345167ea04b
- Potential regressor: Bug 1658043
Additional notes
- This happens only for "Save to PDF" option.
Suggested severity
- S3
Reporter | ||
Updated•4 years ago
|
Has Regression Range: --- → yes
Has STR: --- → yes
Comment 1•4 years ago
|
||
(This might be a PDF bug, but let's send it to Printing:Output and see where it goes from there.)
Component: Printing → Printing: Output
Product: Toolkit → Core
Comment 2•4 years ago
|
||
The background image here is a fairly low-res GIF (87 x 76 pixels), but Chrome does a much nicer job of scaling it than we do when generating PDF output (or printing).
I'm not sure what is controlling the kind of scaling we get here; it looks to me like it may be using nearest-neighbor, which probably isn't ideal. We do something much better for on-screen rendering.
Severity: -- → S3
Component: Printing: Output → Graphics
Updated•4 years ago
|
Updated•4 years ago
|
Flags: needinfo?(aosmond)
Updated•4 years ago
|
Updated•4 years ago
|
Whiteboard: [print2020_v85] [old-ui-] → [print2020_v87] [old-ui-]
Updated•4 years ago
|
Updated•4 years ago
|
status-firefox88:
--- → affected
status-firefox-esr78:
--- → unaffected
Updated•4 years ago
|
status-firefox89:
--- → affected
Updated•4 years ago
|
Whiteboard: [print2020_v87] [old-ui-] → [print2020] [old-ui-]
Updated•4 years ago
|
status-firefox90:
--- → affected
Updated•3 years ago
|
status-firefox91:
--- → affected
Updated•3 years ago
|
Blocks: gfx-triage
Flags: needinfo?(jmathies)
Comment 4•3 years ago
|
||
Note - in certain cases we don't get the quote symbol at all.
Comment 5•3 years ago
|
||
Hey Tim, any idea what's going on here?
Flags: needinfo?(aosmond) → needinfo?(tnikkel)
Updated•3 years ago
|
Updated•3 years ago
|
No longer blocks: gfx-triage
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•