2001-04-09 19:36:36 +00:00
|
|
|
|
|
|
|
"""
|
|
|
|
This is a way to save the startup time when running img2py on lots of
|
|
|
|
files...
|
|
|
|
"""
|
|
|
|
|
2003-03-25 06:35:27 +00:00
|
|
|
import sys
|
2003-12-09 01:23:28 +00:00
|
|
|
|
|
|
|
from wx.tools import img2py
|
2001-04-09 19:36:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
command_lines = [
|
2002-02-26 22:35:10 +00:00
|
|
|
" -u -i -n Mondrian bmp_source/mondrian.ico images.py",
|
|
|
|
|
|
|
|
"-a -u -n Background bmp_source/backgrnd.png images.py",
|
|
|
|
"-a -u -n TestStar -m #FFFFFF bmp_source/teststar.png images.py",
|
|
|
|
"-a -u -n TestStar2 bmp_source/teststar.png images.py",
|
|
|
|
"-a -u -n TestMask bmp_source/testmask.bmp images.py",
|
|
|
|
|
|
|
|
"-a -u -n Test2 bmp_source/test2.bmp images.py",
|
2004-10-19 03:50:09 +00:00
|
|
|
"-a -u -n Test2m -m #0000FF bmp_source/test2.bmp images.py",
|
2002-02-26 22:35:10 +00:00
|
|
|
"-a -u -n Robin bmp_source/robin.jpg images.py",
|
|
|
|
|
2005-05-24 20:55:42 +00:00
|
|
|
"-a -u -n Bulb1 bmp_source/bulb1.bmp images.py",
|
|
|
|
"-a -u -n Bulb2 bmp_source/bulb2.bmp images.py",
|
2002-02-26 22:35:10 +00:00
|
|
|
|
|
|
|
"-a -u -n DbDec bmp_source/DbDec.bmp images.py",
|
|
|
|
"-a -u -n Dec bmp_source/Dec.bmp images.py",
|
|
|
|
"-a -u -n Pt bmp_source/Pt.bmp images.py",
|
|
|
|
"-a -u -n DbInc bmp_source/DbInc.bmp images.py",
|
|
|
|
"-a -u -n Inc bmp_source/Inc.bmp images.py",
|
|
|
|
|
|
|
|
"-a -u -n Tog1 -m #C0C0C0 bmp_source/tog1.bmp images.py",
|
|
|
|
"-a -u -n Tog2 -m #C0C0C0 bmp_source/tog2.bmp images.py",
|
|
|
|
|
|
|
|
"-a -u -n Smiles -m #FFFFFF bmp_source/smiles2.bmp images.py",
|
|
|
|
|
|
|
|
"-a -u -n GridBG bmp_source/GridBG.gif images.py",
|
|
|
|
|
|
|
|
"-a -u -n SmallUpArrow -m #0000FF bmp_source/sm_up.bmp images.py",
|
|
|
|
"-a -u -n SmallDnArrow -m #0000FF bmp_source/sm_down.bmp images.py",
|
|
|
|
|
2002-08-17 19:08:21 +00:00
|
|
|
"-a -u -n NoIcon bmp_source/noicon.png images.py",
|
|
|
|
|
|
|
|
"-a -u -n WizTest1 bmp_source/wiztest1.bmp images.py",
|
|
|
|
"-a -u -n WizTest2 bmp_source/wiztest2.bmp images.py",
|
2001-11-30 21:16:36 +00:00
|
|
|
|
2005-05-24 20:55:42 +00:00
|
|
|
"-a -u -n Vippi bmp_source/Vippi.png images.py",
|
|
|
|
|
|
|
|
"-a -u -n LB01 bmp_source/LB01.png images.py",
|
|
|
|
"-a -u -n LB02 bmp_source/LB02.png images.py",
|
|
|
|
"-a -u -n LB03 bmp_source/LB03.png images.py",
|
|
|
|
"-a -u -n LB04 bmp_source/LB04.png images.py",
|
|
|
|
"-a -u -n LB05 bmp_source/LB05.png images.py",
|
|
|
|
"-a -u -n LB06 bmp_source/LB06.png images.py",
|
|
|
|
"-a -u -n LB07 bmp_source/LB07.png images.py",
|
|
|
|
"-a -u -n LB08 bmp_source/LB08.png images.py",
|
|
|
|
"-a -u -n LB09 bmp_source/LB09.png images.py",
|
|
|
|
"-a -u -n LB10 bmp_source/LB10.png images.py",
|
|
|
|
"-a -u -n LB11 bmp_source/LB11.png images.py",
|
|
|
|
"-a -u -n LB12 bmp_source/LB12.png images.py",
|
2004-09-29 21:52:45 +00:00
|
|
|
|
2004-10-07 19:28:57 +00:00
|
|
|
"-a -u -n FloatCanvas bmp_source/floatcanvas.png images.py",
|
2005-05-24 20:55:42 +00:00
|
|
|
"-a -u -n TheKid bmp_source/thekid.png images.py",
|
|
|
|
|
|
|
|
"-a -u -n Carrot bmp_source/carrot.png images.py",
|
|
|
|
"-a -u -n Pointy bmp_source/pointy.png images.py",
|
|
|
|
"-a -u -n Pencil bmp_source/pencil.png images.py",
|
2004-10-19 03:50:09 +00:00
|
|
|
|
|
|
|
"-a -u -i -n WXPdemo bmp_source/wxpdemo.ico images.py",
|
|
|
|
|
2003-11-21 07:36:53 +00:00
|
|
|
|
2003-03-25 06:35:27 +00:00
|
|
|
" -u -c bmp_source/001.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/002.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/003.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/004.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/005.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/006.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/007.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/008.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/009.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/010.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/011.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/012.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/013.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/014.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/015.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/016.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/017.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/018.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/019.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/020.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/021.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/022.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/023.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/024.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/025.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/026.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/027.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/028.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/029.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/030.png throbImages.py",
|
|
|
|
|
|
|
|
"-a -u -c bmp_source/logo.png throbImages.py",
|
|
|
|
"-a -u -c bmp_source/rest.png throbImages.py",
|
2001-04-09 19:36:36 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
2004-05-02 02:41:33 +00:00
|
|
|
if __name__ == "__main__":
|
|
|
|
for line in command_lines:
|
|
|
|
args = line.split()
|
|
|
|
img2py.main(args)
|
2001-04-09 19:36:36 +00:00
|
|
|
|