X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..6a52ea5cb81dcd07c286d34b80945534780fe05f:/wxPython/demo/encode_bitmaps.py diff --git a/wxPython/demo/encode_bitmaps.py b/wxPython/demo/encode_bitmaps.py index c3864545fa..84209178e9 100644 --- a/wxPython/demo/encode_bitmaps.py +++ b/wxPython/demo/encode_bitmaps.py @@ -1,9 +1,3 @@ -#!/usr/bin/env python -#---------------------------------------------------------------------- -# 11/5/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Modified for wx namespace -# """ This is a way to save the startup time when running img2py on lots of @@ -28,6 +22,7 @@ command_lines = [ "-a -u -n TestMask bmp_source/testmask.bmp images.py", "-a -u -n Test2 bmp_source/test2.bmp images.py", + "-a -u -n Test2m -m #0000FF bmp_source/test2.bmp images.py", "-a -u -n Robin bmp_source/robin.jpg images.py", "-a -u -n Bulb1 bmp_source/lb1.bmp images.py", @@ -85,6 +80,15 @@ command_lines = [ "-a -u -n Blom14 bmp_source/toblom14.png images.py", "-a -u -n Blom15 bmp_source/toblom15.png images.py", + "-a -u -n Blom08m -m #FFFFFF bmp_source/toblom08.png images.py", + "-a -u -n Blom10m -m #FFFFFF bmp_source/toblom10.png images.py", + "-a -u -n Blom15m -m #FFFFFF bmp_source/toblom15.png images.py", + + "-a -u -n FloatCanvas bmp_source/floatcanvas.png images.py", + + "-a -u -i -n WXP bmp_source/wxp.ico images.py", + "-a -u -i -n WXPdemo bmp_source/wxpdemo.ico images.py", + " -u -c bmp_source/001.png throbImages.py", "-a -u -c bmp_source/002.png throbImages.py", @@ -123,7 +127,8 @@ command_lines = [ ] -for line in command_lines: - args = line.split() - img2py.main(args) +if __name__ == "__main__": + for line in command_lines: + args = line.split() + img2py.main(args)