How good is Browser Zoom?

We recently discussed the modern browser's ability to zoom and thus make website more readable. The problem however is, that while it is easy to zoom in on text without losing quality, it is an entirely different thing with images. How good are the modern browsers really at zooming in on images?

Before I show you the result (which is very good), let's briefly discuss the theory behind image scaling.

A bit of theory

Everyone with a digital camera knows that you cannot make pictures bigger and better. You can make it bigger, but you can never exceed the quality and details of the original picture.

This problem is made worse by the fact that there are many different ways to scale an image.

Method 1: Simple scaling

The "poor man's" scaling method is simply to make everything bigger. To zoom in 200% you simply make every pixel twice as big. As a result you end up with a very pixilated image. Not good!

Method 2: Bicubic Scaling (using Photoshop)

A much better way to scale up images is to use the "bicubic" method. It eliminates the pixilated look, and tries to scale the picture by creating new pixels that it thinks will work well. This is a much better method, but it still makes the scaled up image a bit blurry to look at.

Method 3: What we really want

To get the best quality we must abandon the concept of scaling. Instead when a visitor zooms, the browser should request a new "higher quality" image from the server.

This however is not supported by any browser (yet). But the result is spectacular (just look at the hair or the freckles on her nose):

The Browser Tests

How does the browsers compare to these three scaling methods?

We would obviously like to have the perfect image in method 3 (which we cannot get), and we don't want anything like the pixilated look in method 1. But I am very satisfied if it is close to the result we get from scaling up images in Photoshop (method 2).

Firefox 3.0

Firefox is extremely close to Photoshop. It is a bit blurry, and it lacks some of the clarity, but we are talking a tiny difference.

Opera 9.5

Opera is also extremely close. It is actually somewhat better than what you get from Firefox.

Internet Explorer 8.0

Internet Explorer 8 is also very close to what we want. It is not as good as Opera (but close). It is, by all practical terms, the same as Firefox. Technically speaking it is actually a fraction of a fraction of a fraction better than Firefox, but the difference is impossible to see with the naked eye.

Safari 3.0

Finally I also wanted to test Safari. It is a good browser, and "THE" browser on a Mac. But here is a surprise. Safari does not support zooming. It can scale up the text, but not the page itself.

This is actually a bit weird. Zooming is pretty much the most important feature with Safari on the iPhone. Why is the feature missing out in the desktop version (Steve?)

It is pretty good

So there you have it. The modern browsers actually do a pretty good job when it comes to zooming. It is much better than I anticipated.

What we really need is the kind of quality we get using method 3, where a new image is requested when you change the zoom levels. That would be spectacular. But all three browsers come extremely close to the image quality you get from Photoshop, and that is, by all accounts, "good enough".

All-in-one

Comments

1

Kevin Cannon - Aug. 11, 2008

Looks like Safari will support page zooming in the future. You can test it by downloading a Nightly version of webkit now if need be.

http://webkit.org/blog/165/full-page-zoom/

Also, there's a good discussion on the topic of HI-DPI sites on the webkit blog too, including a number of interesting CSS3 features that allow you to specify hi & low res images. Check it out:

Part 1: http://webkit.org/blog/55/high-dpi-web-sites/

Part2 : http://webkit.org/blog/56/high-dpi-part-2/

2

Milena - Aug. 13, 2008

Well now that you show it out this way, it makes perfect sense that we all embark on a quest for better pixels. And you are right, the most used feature on my iphone IS the zoom and yet, my Safari browser doesn't let me do it for images. Whenever I need to do so, I just switch to Firefox (which I'm using right now). Great breakdown.

3

Sam - Aug. 21, 2008

I think you are missing the point completely!

People zoom in to make the text of a website easier to read. They don't zoom in just for the sake of making things bigger. Hence the 'make text big' feature of the old browsers. But then, another usability problem crops up - when you make text bigger, the design / layout sometimes break. The 'Zoom everything' used by new browsers fixes this to a great extent.

I fail to see how serving a larger image really helps. Where making an image bigger is necessary, designers already do that - e.g. thumbnails and slide shows. I am sure most people will consider serving a larger image on a zoom a waste of time and bandwidth.

4

Thomas Baekdal - Aug. 22, 2008

Sam, people don't just zoom to make the text bigger. My grandfather zoome because he cannot see what is on the screen.

If you zoom in and the images are merely scalled up (and thus becoming blurred), then that does not really improves things that much. It is better, but not perfect.

Anorther point. I wear glasses without which I cannot see that well. If I take them off the perfect quality image is easier to see than scaled ones.

Loading a new higher quality image is very important for readability... Sorry seeability.

5

cornel - Aug. 22, 2008

Hi.

Can You tell me the system used for this test? Because on win xp sp3, using opera 9.5 i don't have the quality of your zoomed pictures.

6

Thomas Baekdal - Aug. 22, 2008

Cornel, all tests was done using windows vista. I don't have XP.

7

Sam - Aug. 26, 2008

But these are design issues right - a failure by the designer to identify the audience? If most of your audience are old people, a designer should take their needs into considerations and design appropriately.

But realistically, a designer can only focus on the majority of his audience and can't (shouldn't?) design for all.

Where the audience are old people (or disabled or color blind etc), web designers do cater to their needs to the best of their ability.

The point is, unless a designer identifies that his audience needs bigger, clearer picture, he isn't going to serve it. Audience profiling and usability testing is the key.

 

Published: Aug. 11, 2008 in notes

Subscribe / Select »

Baekdal.com Almost Everywhere

Thomas Baekdal

Thomas Baekdal is a Writer, Interaction Designer, Change Advocate and Project Manager.

» About Baekdal
» Contact