Hi Louvy,<br><br>I've noticed that the png8's had a problem in several pieces of software... not just IE. I suspect (and I do stress suspect) that this may be caused not by a defective image or the inability of IE/Others to handle 8 bit png.. but I think it has something to do with the HTTP response type of the image from geoserver. Correct me if I am wrong... but "image/png8" is not an official mime-type, its likely IE is getting confused by this. PNG was designed as a wrapper to several compression formats... hence the name Portable Network Graphics.
<br><br>In IE, I noticed that I was getting black instead of transparency in the image inside IE. Perhaps this is the same for you?<br><br>In the end, rather than use png (24) or png8 I switched to gif.<br><br>--AH<br><br>
<br><div><span class="gmail_quote">On 9/21/07, <b class="gmail_sendername"><a href="mailto:louvy.joseph@gmail.com">louvy.joseph@gmail.com</a></b> <<a href="mailto:louvy.joseph@gmail.com">louvy.joseph@gmail.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am cross posting this on both geoserver & openlayers lists..<br><br>Recently I was enquiring if any of you have seen the exception issues
<br>with geoserver 1.5.3. I have further problems with 1.5.3, this time with<br>PNG8.<br><br>Is the png8 format rendered by geoserver-1.5.3 fully compliant with the<br>PNG specs? Please ignore my lack of knowledge on PNG. Are there any
<br>limitations or certain features not being implemented for this png8<br>format? I am using Openalyers 2.4 on the client side. Everything is fine<br>on firefox. But both IE6 & IE7 have problems with the png8 produced by
<br>geoserver. This manifests in couple of ways:<br><br>1) Most of the times, the IE gets redirected to some other page when I<br>use png8 format for openlayers wms layer. (If I use png instead of png8,<br>everything is fine). I am hypothesizing that IE is not able to process
<br>the geoserver png8 and gets confused.<br><br>2) Lot of times with png8, the openlayers lands in<br>OpenLayers.Util.onImageLoadError() handler. Basically IE thinks that<br>there is some problem with image URL; however the IE ends up drawing the
<br>WMS content of the png8 tile fine (but the tile soon gets replaced by a<br>pink tile). Looks like IE thinks that there is something wrong with this<br>tile even though it was able to render it fine. The problem does not
<br>consistently happen with one particular tile; the same tile on refresh<br>comes out fine.<br><br>The support for png8 is very very important for IE6 since IE6 can't<br>handle PNG24 transparency.<br><br>Any body has any ideas? Thanks in advance..
<br>Louvy Joseph<br>_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/dev">http://openlayers.org/mailman/listinfo/dev
</a><br></blockquote></div><br>