Closed Bug 811675 Opened 12 years ago Closed 11 years ago

Firefox for Android displays Jpeg images with excessive compression

Categories

(Core :: Graphics, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 803299

People

(Reporter: bugzilla, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

Steps to reproduce:

I browse to any page that has Jpeg images, on Firefox for Android 16.0.2 (on my Asus Transformer running ICS).


Actual results:

The images are rendered with excessive JPEG compression, resulting in compression artefacts, like non-smooth gradients, blurs, etc.



Expected results:

- Images should not exhibit additional compression (this is what happens with the Chrome browser on my tablet). I post two screenshots of Google Images results for the search "sky". Compression is clearly visible on the Firefox screenshot.

- There is no option to change the behaviour of Firefox regarding the treatment of images.
OS: Windows 7 → Android
Hardware: x86_64 → All
I think this is because the images rendered on the google images results page are backgrounds of div/anchor tags rather than <img> tags, and it fall into our "do cheap ugly scaling" heuristics check.
Blocks: 750598
(In reply to Kartikaya Gupta (:kats) from comment #1)
> I think this is because the images rendered on the google images results
> page are backgrounds of div/anchor tags rather than <img> tags, and it fall
> into our "do cheap ugly scaling" heuristics check.

I don't think this is true. My guess is that this is because of 565. We could dither images on decode to improve this situation.
This does not solely happen on Google Images results. As a proof I added an attachment comparing the same picture (taken from facebook) on FfA and Chrome. The compression artefacts is clearly visible, especially in the gradient in the background, but also on the forehead.
Is this bug actionable or a dupe?
Component: Graphics, Panning and Zooming → Graphics
Product: Firefox for Android → Core
Version: Firefox 16 → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: