forked from mirror/libbpg
libbpg-0.9.5
This commit is contained in:
parent
6e56352f86
commit
357f186837
35 changed files with 3022 additions and 2134 deletions
103
html/bpgdec.js
103
html/bpgdec.js
File diff suppressed because one or more lines are too long
92
html/bpgdec8.js
Normal file
92
html/bpgdec8.js
Normal file
File diff suppressed because one or more lines are too long
99
html/bpgdec8a.js
Normal file
99
html/bpgdec8a.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
html/clock.bpg
Normal file
BIN
html/clock.bpg
Normal file
Binary file not shown.
|
@ -1,13 +1,21 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script type="text/javascript" src="bpgdec8b.js"></script>
|
||||
<!-- The following scripts are available (sorted by increasing size):
|
||||
bpgdec8.js : 8 bit only, no animation
|
||||
bpgdec.js : up to 14 bits, no animation
|
||||
bpgdec8a.js : 8 bit only, animations
|
||||
-->
|
||||
<script type="text/javascript" src="bpgdec8a.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>BPG Decoding Demo</h1>
|
||||
IMG tag:<br>
|
||||
<img src="lena512color.bpg">
|
||||
<p>
|
||||
IMG tag with animated image:<br>
|
||||
<img src="clock.bpg">
|
||||
<p>
|
||||
Dynamic loading in a canvas:<br>
|
||||
<canvas id="mycanvas" width="512" height="512"></canvas>
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue