Closed
Bug 215782
Opened 23 years ago
Closed 23 years ago
Image resizing (gfx/src/imgScaler.cpp ?) should do linear interpolation rather than nearest neighbor
Categories
(Core Graveyard :: GFX, defect)
Tracking
(Not tracked)
People
(Reporter: greger.cronquist, Assigned: kmcclusk)
References
()
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier:
When Mozilla (at leasst on Windows and Linux) resizes an image it uses what is
called Nearest neighbor interpolation to find the colors of the reduced or
enlarged image. This results in a certain blockiness that is especially
disturbing in reduced images (which are most common on the web).
Since most modern computers are at least moderately fast, I suggest a change to
linear interpolation which being a good compromise between visual quality and
speed (most action games use linear interpolation).
For a comparison of the quality see for instance the URL given above (?).
I'd be happy to supply you with a (rough) patch for imgScaler.cpp should you so
desire.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 3•23 years ago
|
||
*** This bug has been marked as a duplicate of 98971 ***
*** This bug has been marked as a duplicate of 98971 ***
Severity: enhancement → trivial
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•17 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•