Options:
- -o <dir> The directory to place the .xmp file(s), defaults to
+ -o <dir> The directory to place the .xpm file(s), defaults to
the current directory.
-m <#rrggbb> If the original image has a mask or transparency defined
import sys, os, glob, getopt, string
from wxPython.wx import *
-if wxPlatform == "__WXGTK__":
- raise SystemExit, "This tool can not be used on wxGTK until wxGTK can save XPM files."
-
wxInitAllImageHandlers()
if __name__ == "__main__":
- if wxPlatform == "__WXGTK__":
- app = wxPySimpleApp() # Blech! the GUI needs initialized before
- # bitmaps can be created...
main(sys.argv[1:])