Is there a way to detect if a browser supports PNG using Javascript?
Can anyone point me to a site that details which browsers support PNG?
| SitePoint Sponsor |
Is there a way to detect if a browser supports PNG using Javascript?
Can anyone point me to a site that details which browsers support PNG?


no too sure about checking support ofr PNG's but this might be of use.
http://www.libpng.org/pub/png/pngapbr.html
there are a load of link on there too also the PNG Status http://www.libpng.org/pub/png/pngstatus.html
Hope that helps on some way?
My postings are a natural product.
The slight variations in spelling and grammar enhance its
individual character and beauty and in no way are to be
considered flaws or defects - http://www.guinnesspig.net
HTML works wonders for this
HTML Code:<object type="image/png" data="/images/my.png" width="400" height="150"> <p>If you see this you don't have PNG support!</p> </object>
Maybe you can use a BrowserCap file.
Bookmarks