Debian Codegraph @

auto-completion/zsh/_imgp

raw
1 #compdef imgp
2 #
3 # Completion definition for imgp.
4 #
5 # Author:
6 # Arun Prakash Jana <[email protected]>
7 #
8
9 setopt localoptions noshwordsplit noksharrays
10 local -a args
11 args=(
12 '(-a --adapt)'{-a,--adapt}'[adapt to resolution by orientation]'
13 '(-c --convert)'{-c,--convert}'[convert PNG to JPG format]'
14 '(-e --eraseexif)'{-e,--eraseexif}'[erase exif metadata]'
15 '(-f --force)'{-f,--force}'[force to exact specified resolution]'
16 '(-H --hidden)'{-H,--hidden}'[include hidden (dot) files]'
17 '(-i --includeimgp)'{-i,--includeimgp}'[re-process _IMGP files]'
18 '(-k --keep)'{-k,--keep}'[skip images with matching hres or vres]'
19 '(-m --mute)'{-m,--mute}'[operate silently]'
20 '(-M --minres)'{-M,--minres}'[minimum resolution]:HxV or %'
21 '(-n --enlarge)'{-n,--enlarge}'[enlarge smaller images]'
22 '(-N --nearest)'{-N,--nearest}'[use nearest neighbour interpolation for PNG]'
23 '(-o --rotate)'{-o,--rotate}'[rotate clockwise by angle]:degree'
24 '(-O --optimize)'{-p,--optimize}'[optimize the output images]'
25 '(-P --progressive)'{-P,--progressive}'[save JPEG as progressive]'
26 '(-q --quiet)'{-q,--quality}'[specify quality factor (1-95)]:factor'
27 '(-r --recurse)'{-r,--recurse}'[process directories recursively]'
28 '(-s --size)'{-s,--size}'[min byte size to process an image]:bytes'
29 '(-w --overwrite)'{-w,--overwrite}'[overwrite source images]'
30 '(-x --res)'{-x,--res}'[output resolution]:HxV or %'
31 '(-d --debug)'{-z,--debug}'[enable debug logs]'
32 '(-h --help)'{-h,--help}'[show help]'
33 )
34 _arguments -S -s $args