Closed Bug 899828 Opened 7 years ago Closed 7 years ago

"GitHub Status" logo png is very pixelated after image is resized

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 897532
Tracking Status
firefox24 --- unaffected
firefox25 + fixed

People

(Reporter: cpeterson, Assigned: jrmuizel)

References

()

Details

(Keywords: regression)

Attachments

(3 files)

STR:
1. Open https://status.github.com/
2. See that the "GitHub Status" logo looks very pixelated

This is a regression in Nightly 25 build 2013-07-23. Here is the pushlog from build 07-22 and 07-23:

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2268ff80683a&tochange=5ceea82a79c7
Good screenshot from build 07-22.
Bad screenshot from build 07-23.

* Nick: could this pixelated image bug be a regression from your image resizing bug 700926? Your patch is within the pushlog regression range.
Flags: needinfo?(ncameron)
Keywords: regression
Not sure I am repro'ing this correctly, but it does seem to be due to 700926, and it also seems to be fixed by the patch I'm working on for 897787. But lets not dup this bug until we confirm that.
Flags: needinfo?(ncameron)
(In reply to Nick Cameron [:nrc] from comment #3)
> Not sure I am repro'ing this correctly, but it does seem to be due to
> 700926, and it also seems to be fixed by the patch I'm working on for
> 897787. But lets not dup this bug until we confirm that.

Nope on second look, it appears I just can't repro this bug with latest nightly. Tried on Windows and Linux. I always see the good version.
I can repro with the latest Nightly (07-30) on my MacBook Pro.
Well, I did what I should have done at first and checked the source code - turns out it is an img element, not a background-image, so it is highly unlikely that this regression is due 700926.

Do you have a retina screen? If so, perhaps it is a retina scaling bug?
No, I have a non-Retina screen.
Interestingly, on my Retina MacBook at home, the image is NOT pixelated (unless I manually disabled HiDPI with gfx.hidpi.enabled=-1).
Flipping gfx.content.azure.enabled to false seems to fix this, so this is probably caused by bug 896489.
Blocks: 896489
Component: Layout: Images → Graphics
This is because we don't have high quality image scaling enabled in the CoreGraphics moz2d backend, JEFF MUIZELAAR!!!
Assignee: nobody → jmuizelaar
This bug also caused Twitter avatar images, particularly ones with white backgrounds, to have have fuzzy pixel artifacts on their edges. See the attached screenshot.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 897532
You need to log in before you can comment on or make changes to this bug.