Welcome to WebmasterWorld Guest from 54.162.240.235

Forum Moderators: not2easy

Message Too Old, No Replies

I WANT crappy scaled images IE style in all other browsers

     
9:57 pm on May 9, 2010 (gmt 0)

5+ Year Member



Most of the times it's an annoying habit of IE to render scaled images 'bitmap' style. Most other browser make them soft. But that is something I can't use right now, I'm making a page that is used to monitor work times, it uses scaled images, and they need to have sharp edges, that's why.
Is there a way to do this?
thanks
10:28 pm on May 9, 2010 (gmt 0)

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I have done this in the past by using an image and specifying its width attribute within the code. The image I used was 1px wide and 10px tall (.jpg) I then had the display area and the value was passed. from my script.

Mack.
4:44 pm on May 10, 2010 (gmt 0)

5+ Year Member



hm... thanks for your response but it doesn't work here...
6:35 pm on May 10, 2010 (gmt 0)

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



What I did was use a css div as the container. I set the width at 100px then placed the image within the container. I then specified the image size as a width from 1px-100px this was read as a percentage from my script.

Mack.
9:16 pm on May 10, 2010 (gmt 0)

5+ Year Member



While that still didn't work for me(sorry and thanks), or we misunderstood eachother, I got it to work in Firefox at least, and that's actually enough as all my colleagues use FF I believe(and it's only for them):

In version 3.5 Firefox added a way to disable the bilinear filter so use nearest neighbor filter:
img{image-rendering:-moz-crisp-edges;}
 

Featured Threads

Hot Threads This Week

Hot Threads This Month