<s> '''<STR_LIT>''' <EOL> import sys <EOL> import pyglet <EOL> def convert ( src , dest ) : <EOL> if '<STR_LIT>' in src . lower ( ) : <EOL> texture = pyglet . image . load ( src ) . get_texture ( ) <EOL> texture . save ( dest ) <EOL> else : <EOL> image = pyglet . image . load ( src ) <EOL> image . save ( dest ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> if len ( sys . argv ) != <NUM_LIT:3> : <EOL> print __doc__ <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> src = sys . argv [ <NUM_LIT:1> ] <EOL> dest = sys . argv [ <NUM_LIT:2> ] <EOL> convert ( src , dest ) </s>
