Why Safari 3 is Great, Part 2

I showed in a previous post that Safari is better than Firefox, on Windows, at handling pictures. Besides managing color profiles, Safari also offers a much better resizing algorithm. The pictures below show one of my photographs resized by Firefox 2 and Safari 3 on Windows. The original picture is 3620 x 2440 pixels large and I created a simple page that resizes this picture to 500 x 337 and 240 x 162 pixels. Move your mouse over each picture to see the difference between the two browsers.

You also look at a side by side comparison. Besides the jaggy edges, you can see banding in the sky, in the top right corner.

P.S: Telling me that the width and height attributes of an img tag are not the best way to resize an image would be pointless and would not make Firefox better on this particular case. I have to admit that I never use them though :)

17 Responses to “Why Safari 3 is Great, Part 2”

  1. David says:

    Hmmm why it doesn’t seem to work ? (the hover effect you’re talking about…)

  2. Romain Guy says:

    Because WordPress screwed up the JavaScript and I’m trying to fix that :)

  3. jeremiah says:

    i like the firefox method here; it gives a visual indication that the image is actually larger than shown.

    i call personal preference, no clear winner.

  4. Alexis MP says:

    Pretty effective way to get a point across. I’d agree on this specific feature (and I do use the width and height attributes from time to time).

  5. Julien Ponge says:

    I believe that Opera is the only other browser to properly smooth resized images. It’s a pity as the artifacts are so much ugly!

  6. Theodore says:

    Maybe: about:config images.dither=true

  7. Asd says:

    Blurry != better

  8. Romain Guy says:

    Asd, jeremiah: Too bad then that Firefox for Mac OS X behaves exactly as Safari when it comes to images resizing. And Asd, this “blur” is what you would usually call antialiasing.

  9. Steve Webb says:

    Personally I think you would be better getting onto the Firefox guys with your idea’s on future enhancements. I’m not sure Safari can compete long term or short.

  10. Vince says:

    I think Steve is probably right. Safari may be the browser of choice for Mac users but it’s dfficult to imagine anything but a very small minority of Windows users using it, particularly when there are alternatives such as Firefox, Opera, etc.

    Nine out of ten day-to-day users of browsers have little interest in which browser they use (provided it comes up to an undefined minimum standard) and will simply go with the status quo.

  11. JongAm Park says:

    Hello. This is well-known issue with the Firefox and lots of bugs are being reported. They already solved in some part but not all.

    Please take a look at https://bugzilla.mozilla.org/show_bug.cgi?id=98971#c146

    and https://bugzilla.mozilla.org/show_bug.cgi?id=372227



    I would say that the Mac version of the Firefox can display images better than its Windows version. I guess they use different decoder or resize algorithm.

  12. Romain Guy says:

    This is something that has been bothering me with firefox, the rendering can be very different on Windows and Mac OS X. That said I am glad to hear that the Firefox team is working on this issue with images. Thanks for the information.

  13. Jakob says:

    This is exactly what I expected to find out after reading the title o.us poetry. Thanks for informative article

  14. ahmed says:

    I Do Not Agree With You Because Safari 3 Does Not Support Other Languages Like Arabic,Iranian And Sometimes Hebrew

  15. I really enjoy the article.Much thanks again. Want more.