Skip to content

xingmarc/bpg-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bpg-decoder

This repo is originated from https://github.com/mirrorer/libbpg

Use BPG format today to make your website faster!

A React component for BPG using this repo: https://github.com/xuezhma/react-bpg

usage:

npm install bpg-decoder

var BPGDecoder = require('bpg-decoder');
canvas = document.getElementById("mycanvas");
ctx = canvas.getContext("2d");
img = new BPGDecoder(ctx);
img.load("your-bpg-picture.bpg");

known issue

see issues.

Releases

No releases published

Packages

No packages published