I am wondering, is there a list of browsers that support PNG? Im writing a simple graphics library, and I want to output to the best possible format for the target browser, in this order:
PNG, GIF, JPEG (I am using a version of GD that has GIF support).
The issue is, however, is that only newer browsers have built in PNG support. I ONLY want to send PNG images if they have the support for them, and I want this testing to happen server side. Now, sure it will be easy to code for IE and Netscape (just determine the browser version and match against a list), but I want to support other browsers (the most common, anyhow). I noticed PNG was NOT listed in browscap.ini, hence my problem. Any suggestions / links would be appreciated.