nvgif.js demo page

PNG (1.56KB):
NVGIFv6 (1.09KB):

JPEG (5.79KB):
NVGIFv6 with lossy compression (1.05KB):

Check the source code! You only need to include nvgif.js and NVGIF files will be decoded in-browser.

<picture> tags are also supported:

Don't worry if the <picture> demo doesn't seem to be working. The pictures are a bit big. Be patient!

NVGIF files can also be drawn on a canvas:

NVGIFs can also be put into the DOM like any other image:

Backwards compatibility test

NVGIFv1:

NVGIFv2:

NVGIFv3:

NVGIFv4:

NVGIFv5: