Go to the homepage. Skip navigation and go to the content of this page.

Digital Worlds, thoughts and portfolio of Johan Arensman

March 23 2009

Bicubic image scaling for IE

This is just a short link post, it seems IE has a trick to fix the image scaling. Normally if you forced an image to be smaller IE would screw it up but thanks to this nifty CSS trick this can be fixed

It works by simply adding the following snippet to a (preferably by Conditonal Comments hidden IE only) stylesheet:

img { -ms-interpolation-mode: bicubic; }

Check out this page for more info and links about this subject.

Digg Submit

Comments

Feel free to add your comment to the discussion.
Your post will be validated first because of the huge amounts of spam posts.

All fields are required and must be valid.
Your E-mail address will be linked to the Gravatar system so create your avatar there now!
The 'Remember my details' checkbox stores your name and e-mail in a cookie on your computer. It is advised not to use this feature on a public computer.

Weblog categories