oxjs/demos/png/index.html
2011-04-23 01:07:55 +02:00

22 lines
755 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style>
</style>
<script type="text/javascript" src="../../build/js/jquery.js"></script>
<script type="text/javascript" src="../../build/js/Ox.js"></script>
<script type="text/javascript" src="ox.png.js"></script>
<script>
$(function() {
var png = new Ox.PNG("http://khm0.google.com/kh/v=46&x=0&y=0&z=0");
png.load(function() {
Ox.print(png.getChunks());
Ox.print(png.getSize());
png.appendTo("body")
})
});
</script>
</head>
<body></body>
</html>