APNG Support Test

For those not in the know, a APNG is a new breed of animated image combining the benefits of PNG images by supporting 24-bit images and 8-bit transparency and the animation abilities of the GIF. The problem is that most browsers don’t support APNG at the moment, so Elijah Grey has written a script which detects if a browser supports the format.

A simple script that utilizes the HTML 5 canvas API in only 9 functional lines of JavaScript to detect if a browser supports APNG images. It can be useful for deciding when to serve a client browser APNG images instead of GIF images. This will set the variable, apng_supported to true if the browser supports APNG.

View  the APNG JavaScript tool, or see it in action to find out whether your browser supports APNG!

Info

Type:
Tools
Posted on:
March 14th, 2009
Posted by:
Andi Smith
Views:
1300

Rating

4.2

Your Rating:
1 Star2 Stars3 Stars4 Stars5 Stars

Works on

BETA Please let us know if you find APNG Support Test works in other browsers by leaving a comment below.

Comments

Lurline Stoltzman

What a thought provoking update, is there any way I can get an update sent in an email when you make a fresh update?

Posted on August 26, 2011

Add comment

(required)
(required)
(will not be published)
(required)