[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: PNG and Windows HTML help file

From: Steven Brown <swbrown_at_ucsd.edu>
Date: 2003-08-08 01:00:10 CEST

> -----Original Message-----
> From: Jostein Christoffer Andersen [mailto:jostein@josander.net]
> Sent: Thursday, August 07, 2003 6:14 AM
> To: sussman@collab.net; fitz@red-bean.com; cmpilato@collab.net
> Cc: dev@subversion.tigris.org
> Subject: PNG and Windows HTML help file

> I don't know why some of the PNG files (only ch04dia1.png at the moment)
> in the book turns in to black in compressed html file, but when I'm
> indexing the files (from true colors to indexed colors), the files looks
> good "everywhere".

Btw, the reason this happens is due to _really_ poor PNG support in IE (but
not PocketIE or MacIE, go figure). Truecolor transparent PNGs come out all
black. There's an IE-specific trick
(http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html), but it fails on
https:// addresses due to another IE bug. Best solution is to just swap out
dithered, indexed, transparent PNGs when detecting x86/IE, or if the page is
static, just using such always.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 8 01:00:17 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.