Код:
D:\python\iCon\build\dist>theX.iCon.exe -v
ZX Image Convertor 0.3
Copyright (c) 2oo9 by elf/2
D:\python\iCon\build\dist>theX.iCon.exe --help
usage: theX.iCon.exe [-h] [-v] [-f {gif,png}] [-d DEST] [-p PALETTE]
[--show-hidden-pixels [COLOR]] [-b {0,1,2,3,4,5,6,7}]
[-bw {none,small,complete}] [-x {0.5,1,2,3}]
[-i [TRANSPARENCY]] [--blur] [-a [FILE]] [-e DELAY]
[-l DELAY_LAST]
file [file ...]
positional arguments:
file file or folder to process
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-f {gif,png}, --format {gif,png}
output format (default: gif)
-d DEST, --dest DEST destination folder (default: current dir)
-p PALETTE, --palette PALETTE
palette to use: orthodox, Grey, Ocean, Mars, alone,
pulsar or custom palette in Unreal Speccy format
(default: pulsar)
--show-hidden-pixels [COLOR]
hidden pixels color in hex rgb format, ffa500 if value
omitted
Post Processing:
-b {0,1,2,3,4,5,6,7}, --border {0,1,2,3,4,5,6,7}
add border (default color: 0)
-bw {none,small,complete}, --border-width {none,small,complete}
set border width (default: small)
-x {0.5,1,2,3}, --scale {0.5,1,2,3}
scale images (default scale: 1)
-i [TRANSPARENCY], --interlace [TRANSPARENCY]
make interlaced image with transparency, 0.5 if value
omitted
--blur add light blur
Animation:
-a [FILE], --animate [FILE]
create animated image (default: theX.animation.gif)
-e DELAY, --delay DELAY
delay after each frame (default: 100)
-l DELAY_LAST, --delay-last DELAY_LAST
delay after the last frame (default: 1000)