Open Bug 920957 Opened 8 years ago Updated 5 years ago

Image upscaling quality: Text in images loses contrast more than in Chrome.


(Core :: ImageLib, defect)

24 Branch
Windows 8
Not set





(Reporter: yu_icq, Unassigned)





(1 file, 2 obsolete files)

User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36

Steps to reproduce:

Go to
Zoom in (most obvious at around 150%). 

Actual results:

Image looks unclear compared to equivalent zoom level in Chrome (see attached screenshot comparison). More specifically the image looks bright and low on contrast, diagonal lines look slightly jagged, while neither occurs in Chrome.

The result was the same with Firefox 23, Firefox 24 and Nightly 27.0a1 (2013-09-25). 

Setting gfx.color_management.mode to zero (see and disabling hardware acceleration did not change the result.

Expected results:

Scaling should preserve the readability of text inside images when zooming in. 

The effect creates a "lower quality" feeling on webpages in general, and makes specifically text in images (as in webcomics) harder to read.
Depends on: 486918
Could you test if there is a difference with image.high_quality_downscaling.enabled=false (restart the browser).
Component: Untriaged → ImageLib
No longer depends on: 486918
Flags: needinfo?(yu_icq)
Product: Firefox → Core
Attached image Side-by-side comparison v2 ( (obsolete) —
With image.high_quality_downscaling.enabled=false the contrast issue is improved (see first row), but still Chrome gives the better readability (see second row).

For highlighting the differences a bit more I have also included subtractions of the new screenshots. 

At 100% zoom the images are pixel-equivalent (checked just in case that Chrome applies some filters even without scaling, e.g. color profile issues).
Attachment #810470 - Attachment is obsolete: true
Flags: needinfo?(yu_icq)
You need to log in before you can comment on or make changes to this bug.