-
Website
http://www.gabrielweinberg.com/blog/ -
Original page
http://www.gabrielweinberg.com/blog/2009/06/things-about-web-images-i-just-learned.html -
Subscribe
All Comments -
Community
-
Top Commenters
-
MacSmiley
1 comment · 5 points
-
scribu
2 comments · 2 points
-
aggieben
1 comment · 3 points
-
cera
1 comment · 1 points
-
robdimarco
2 comments · 1 points
-
-
Popular Threads
1. personally I always try for "images should be served at the size they are drawn". Image re-size is a costly operation.
2. check if a background image with just solid color can be replaced by a 'colored' background. drawing a solid fill is cheaper than rendering an image with solid color.
-ms-interpolation-mode is only available in IE 7 onward.
thx
img {
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
}
I tried the above and it didn't work for me. Thanks in advance :)
PNG 8 is indeed quantised into, up to, 255 colours just like gif, however unlike gif you can mark _multiple_ entries in the palette as have alpha information (not just 100% transpaent) E.G. it possible to have 16 entries in the palette that go from (RGBA) #FFFFFFFF to #FFFFFF00 and use those for a gradated fadeout. And under IE6 the default behaviour for PNG8 is to render #RRGGBBAA as #NNNNNN00 when AA<FF As such it can be engineered to look great in non-IE6 and "ok" in IE6