[thelist] PNG and alpha channel ?

Tony Crockford tonyc at boldfish.co.uk
Sun Jan 20 07:25:07 CST 2002


<tip type "graphics and IE6.0" author "Tony Crockford">

It seems that there is a workaround for png24 graphics displaying grey in
Internet Explorer 6.0 that requires the use of the AlphaImageLoader filter.

Detail here:
<http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294714> and here:
<http://www.msdn.microsoft.com/library/default.asp?url=/workshop/author/filt
er/reference/filters/alphaimageloader.asp>

briefly to display PNG-24 images correctly in MSIE 6.0 you need to code
thus:

<html>
<head></head>
<body bgColor="blue">
<!-- This DIV is the target container for the image.  -->
<DIV ID="oDiv" STYLE="position:absolute; left:140px; height:400; width:400;
     filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
     src='image.png', sizingMethod='scale');" >
</DIV>
</body>
</html>


Opera and Netscape seem to ignore this method of display completely,
unfortunately

</tip>





More information about the thelist mailing list