Closed Bug 266752 Opened 20 years ago Closed 19 years ago

ugly image resizing

Categories

(Firefox :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 98971

People

(Reporter: janklopper, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041007 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041007 Firefox/0.10.1

The iamge resizing in IE and firefox is both very nasty, if an image is larger
than its html or the window+autoscaling describes it to be it will get scaled
down, in this proces firefox (and probably the entire gecko engine) sale it down
with some fast ugly algorithm, this allows for small "artifacts" (or sharp
edges) to apear in the image.

Opera on the other hand offers a very neat setting called "smart resize" which
will use a more complicated and slower scaling algorithm.
While i think we should keep the normal scale function for slow computers, and
use it as the default. I think we also need a pretty and nice anti-aliasing
function which can be enabled by a setting just like the "smooth scrolling"
setting. (perhaps even allow the user to choose the maximum size (KB) of the
image he'd like to scale with the expensive function. (as larger jpg's will
allready be slow.

Reproducible: Always
Steps to Reproduce:
1.load a scaled image in firefox
2.load the same image in opera with smooth scaling
3.notice the difference, if it's not that bas try scaling the image up or down 1
pixel and try again.

Actual Results:  
I liked the opera way of scaling better.

Expected Results:  
given me a simple setting, link the smooth scroll setting.
and if i enabled smooth scaling, and the image was smaller than the amount of KB
i selected it would have been caled using the pretty anti aliasing function.

for dutch people: (english folks can look at the screenshots)
http://gathering.tweakers.net/forum/list_messages/971306
This was already reported. Marking duplicate (which adds you as CC to the other
bug).

*** This bug has been marked as a duplicate of 98971 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.