Permalink
Browse files

test everything!

  • Loading branch information...
1 parent 1576c0f commit 9b2b1b843535ad2f315f6b39d052d21d1b1a2def @iamcal committed Aug 24, 2010
Showing with 25 additions and 1 deletion.
  1. +25 −1 unpack.htm
View
@@ -180,7 +180,7 @@
function unpack_rgba(b){
- console.log(b.slice(0,8));
+ //console.log(b.slice(0,8));
var s = [];
for (var i= 0; i<b.length; i+=4){
@@ -260,6 +260,24 @@
'jquery_ascii_t4_8b_square.png' : [unpack_ra, decode_ascii], // broken - alpha is a bit off
'jquery_ascii_t6_8b_square.png' : [unpack_rgba, decode_ascii], // broken - everything comes back a bit off
+
+ //////////////////////////////////////////////
+
+ 'jquery_seq8_t0_1b_square.png' : [unpack_1b_gs, decode_seq8],
+ 'jquery_seq8_t0_2b_square.png' : [unpack_2b_gs, decode_seq8],
+ 'jquery_seq8_t0_4b_square.png' : [unpack_4b_gs, decode_seq8],
+ 'jquery_seq8_t0_8b_square.png' : [unpack_r, decode_seq8],
+
+ 'jquery_seq8_t2_8b_square.png' : [unpack_rgb, decode_seq8],
+
+ 'jquery_seq8_t3_1b_square.png' : [unpack_1b, decode_seq8],
+ 'jquery_seq8_t3_2b_square.png' : [unpack_2b, decode_seq8],
+ 'jquery_seq8_t3_4b_square.png' : [unpack_4b, decode_seq8],
+ 'jquery_seq8_t3_8b_square.png' : [unpack_r, decode_seq8],
+
+ 'jquery_seq8_t4_8b_square.png' : [unpack_ra, decode_seq8],
+
+ 'jquery_seq8_t6_8b_square.png' : [unpack_rgba, decode_seq8],
};
var folders = [
@@ -273,6 +291,12 @@
for (var i=0; i<folders.length; i++){
for (var j in base_image_formats){
image_formats[folders[i]+j] = base_image_formats[j];
+
+ var key2 = j.replace(/square/, 'tall');
+ image_formats[folders[i]+key2] = base_image_formats[j];
+
+ var key3 = j.replace(/square/, 'wide');
+ image_formats[folders[i]+key3] = base_image_formats[j];
}
}

0 comments on commit 9b2b1b8

Please sign in to comment.