Browse Source

Remove debug

James Bowman 6 years ago
parent
commit
807e4f0ab6
2 changed files with 0 additions and 3 deletions
  1. 0 1
      gameduino2/convert.py
  2. 0 2
      gameduino2/prep.py

+ 0 - 1
gameduino2/convert.py

@@ -78,7 +78,6 @@ def convert(im, dither = False, fmt = ARGB1555):
             return int((3. * dc / 255))
                 
         data = array.array('B', [(64 * to3(a) + 16 * to3(b) + 4 * to3(c) + to3(d)) for (a,b,c,d) in zip(b0, b1, b2, b3)])
-        print data[128*64:129*64]
     elif fmt == L1:
         if dither:
             im = im.convert("1", dither=Image.FLOYDSTEINBERG)

+ 0 - 2
gameduino2/prep.py

@@ -238,8 +238,6 @@ class AssetBin(gameduino2.base.GD2):
             gd2.ARGB4    : 2 * aw,
             gd2.RGB565   : 2 * aw,
             gd2.PALETTED : aw}[fmt]
-        if fmt == gd2.L2:
-            print w, aw, bpl
         self.BitmapLayout(fmt, bpl, h);
 
         for i,im in enumerate(images):