ImageBinary
image/apng
Animated PNG
Reference for image/apng, the Animated PNG format providing better quality animations than GIF with full color and transparency.
MIME Type Detector
Drop a file to detect its MIME type — no upload, runs in your browser
📄
Drop any file here or click to choose
Expected extensions: .apng, .png
HTTP Content-Type Header
HTTP Header
Content-Type: image/apngAssociated File Extensions
.apng.png
Quick Facts
| MIME Type | image/apng |
| Category | Image |
| Type | Binary |
| Extensions | .apng, .png |
Common Usage
APNG extends PNG with animation support, offering millions of colors and full alpha transparency — advantages over GIF's 256-color limit. It is supported by all major browsers and used for high-quality animated images, loading spinners, and stickers where GIF quality is insufficient.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.apng" type="image/apng">
<!-- Or for script/media elements -->
<script type="image/apng" src="file.apng"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('image/apng');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'image/apng' });nginx
# nginx.conf — add to types block or use default
types {
image/apng apng png;
}
# Or set for a specific location
location /api/ {
default_type image/apng;
}Related MIME Types
More Image MIME Types
Other image types in the Image family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.