
    d                     H    d Z ddlZddlZddlmZ dad Zedk(  r e        yy)a  
img2xpm.py  -- convert several image formats to XPM.

Usage:

    img2xpm.py [options] image_files...

Options:

    -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
                   it will be used by default.  You can use this option to
                   override the default or provide a new mask by specifying
                   a colour in the image to mark as transparent.

    -n <name>      A filename to write the .xpm data to.  Defaults to the
                   basename of the image file + '.xpm'  This option overrides
                   the -o option.
    N)img2imgc                      t        j                         t        j                         at	        j
                  t        j                  dd  t         j                  dt               y )N   z.xpm)
wxGetAppAppappr   mainsysargvBITMAP_TYPE_XPM__doc__     2/usr/lib/python3/dist-packages/wx/tools/img2xpm.pyr
   r
   *   s;    	yy{ffhLL!"r1167Cr   __main__)r   r   r   wx.toolsr   r	   r
   __name__r   r   r   <module>r      s4   ,  
 
D zF r   