summaryrefslogtreecommitdiff
path: root/completions/convert
diff options
context:
space:
mode:
Diffstat (limited to 'completions/convert')
-rw-r--r--completions/convert88
1 files changed, 42 insertions, 46 deletions
diff --git a/completions/convert b/completions/convert
index c86293a6..ffb320e2 100644
--- a/completions/convert
+++ b/completions/convert
@@ -4,8 +4,8 @@ _ImageMagick()
{
case $prev in
-channel)
- COMPREPLY=( $( compgen -W 'Red Green Blue Opacity \
- Matte Cyan Magenta Yellow Black' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W 'Red Green Blue Opacity Matte Cyan
+ Magenta Yellow Black' -- "$cur" ) )
return 0
;;
-colormap)
@@ -13,19 +13,19 @@ _ImageMagick()
return 0
;;
-colorspace)
- COMPREPLY=( $( compgen -W 'GRAY OHTA RGB Transparent \
- XYZ YCbCr YIQ YPbPr YUV CMYK' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W 'GRAY OHTA RGB Transparent XYZ YCbCr YIQ
+ YPbPr YUV CMYK' -- "$cur" ) )
return 0
;;
-compose)
- COMPREPLY=( $( compgen -W 'Over In Out Atop Xor Plus \
- Minus Add Subtract Difference Multiply Bumpmap\
- Copy CopyRed CopyGreen CopyBlue CopyOpacity' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W 'Over In Out Atop Xor Plus Minus Add
+ Subtract Difference Multiply Bumpmap Copy CopyRed CopyGreen
+ CopyBlue CopyOpacity' -- "$cur" ) )
return 0
;;
-compress)
- COMPREPLY=( $( compgen -W 'None BZip Fax Group4 JPEG \
- Lossless LZW RLE Zip' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W 'None BZip Fax Group4 JPEG Lossless LZW
+ RLE Zip' -- "$cur" ) )
return 0
;;
-dispose)
@@ -34,9 +34,9 @@ _ImageMagick()
return 0
;;
-encoding)
- COMPREPLY=( $( compgen -W 'AdobeCustom AdobeExpert \
- AdobeStandard AppleRoman BIG5 GB2312 Latin2 \
- None SJIScode Symbol Unicode Wansung' -- "$cur"))
+ COMPREPLY=( $( compgen -W 'AdobeCustom AdobeExpert AdobeStandard
+ AppleRoman BIG5 GB2312 Latin2 None SJIScode Symbol Unicode
+ Wansung' -- "$cur" ) )
return 0
;;
-endian)
@@ -44,9 +44,9 @@ _ImageMagick()
return 0
;;
-filter)
- COMPREPLY=( $( compgen -W 'Point Box Triangle Hermite \
- Hanning Hamming Blackman Gaussian Quadratic \
- Cubic Catrom Mitchell Lanczos Bessel Sinc' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W 'Point Box Triangle Hermite Hanning
+ Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell
+ Lanczos Bessel Sinc' -- "$cur" ) )
return 0
;;
-format)
@@ -56,13 +56,13 @@ _ImageMagick()
return 0
;;
-gravity)
- COMPREPLY=( $( compgen -W 'Northwest North NorthEast \
- West Center East SouthWest South SouthEast' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W 'Northwest North NorthEast West Center
+ East SouthWest South SouthEast' -- "$cur" ) )
return 0
;;
-intent)
- COMPREPLY=( $( compgen -W 'Absolute Perceptual \
- Relative Saturation' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W 'Absolute Perceptual Relative
+ Saturation' -- "$cur" ) )
return 0
;;
-interlace)
@@ -74,7 +74,7 @@ _ImageMagick()
return 0
;;
-list)
- COMPREPLY=( $( compgen -W 'Delegate Format Magic Module Resource \
+ COMPREPLY=( $( compgen -W 'Delegate Format Magic Module Resource
Type' -- "$cur" ) )
return 0
;;
@@ -85,18 +85,16 @@ _ImageMagick()
return 0
;;
-noise)
- COMPREPLY=( $( compgen -W 'Uniform Gaussian Multiplicative \
+ COMPREPLY=( $( compgen -W 'Uniform Gaussian Multiplicative
Impulse Laplacian Poisson' -- "$cur" ) )
return 0
;;
-preview)
- COMPREPLY=( $( compgen -W 'Rotate Shear Roll Hue \
- Saturation Brightness Gamma Spiff \
- Dull Grayscale Quantize Despeckle \
- ReduceNoise AddNoise Sharpen Blur \
- Treshold EdgeDetect Spread Shade \
- Raise Segment Solarize Swirl Implode \
- Wave OilPaint CharcoalDrawing JPEG' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W 'Rotate Shear Roll Hue Saturation
+ Brightness Gamma Spiff Dull Grayscale Quantize Despeckle
+ ReduceNoise AddNoise Sharpen Blur Treshold EdgeDetect Spread
+ Shade Raise Segment Solarize Swirl Implode Wave OilPaint
+ CharcoalDrawing JPEG' -- "$cur" ) )
return 0
;;
-mask|-profile|-texture|-tile|-write)
@@ -104,13 +102,13 @@ _ImageMagick()
return 0
;;
-type)
- COMPREPLY=( $( compgen -W 'Bilevel Grayscale Palette PaletteMatte \
- TrueColor TrueColorMatte ColorSeparation ColorSeparationlMatte \
+ COMPREPLY=( $( compgen -W 'Bilevel Grayscale Palette PaletteMatte
+ TrueColor TrueColorMatte ColorSeparation ColorSeparationlMatte
Optimize' -- "$cur" ) )
return 0
;;
-units)
- COMPREPLY=( $( compgen -W 'Undefined PixelsPerInch \
+ COMPREPLY=( $( compgen -W 'Undefined PixelsPerInch
PixelsPerCentimeter' -- "$cur" ) )
return 0
;;
@@ -119,8 +117,9 @@ _ImageMagick()
return 0
;;
-visual)
- COMPREPLY=( $( compgen -W 'StaticGray GrayScale StaticColor \
- PseudoColor TrueColor DirectColor defaut visualid' -- "$cur" ))
+ COMPREPLY=( $( compgen -W 'StaticGray GrayScale StaticColor
+ PseudoColor TrueColor DirectColor defaut visualid' \
+ -- "$cur" ) )
return 0
;;
esac
@@ -138,10 +137,9 @@ _convert()
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" -help )' -- "$cur" ) )
elif [[ "$cur" == +* ]]; then
- COMPREPLY=( $( compgen -W '+adjoin +append +compress \
- +contrast +debug +dither +endian +gamma +label +map \
- +mask +matte +negate +noise +page +raise +render \
- +write' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '+adjoin +append +compress +contrast +debug
+ +dither +endian +gamma +label +map +mask +matte +negate +noise
+ +page +raise +render +write' -- "$cur" ) )
else
_filedir
fi
@@ -158,9 +156,8 @@ _mogrify()
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" -help )' -- "$cur" ) )
elif [[ "$cur" == +* ]]; then
- COMPREPLY=( $( compgen -W '+compress +contrast +debug +dither \
- +endian +gamma +label +map +mask +matte +negate +page \
- +raise' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '+compress +contrast +debug +dither +endian
+ +gamma +label +map +mask +matte +negate +page +raise' -- "$cur" ) )
else
_filedir
fi
@@ -177,9 +174,8 @@ _display()
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" -help )' -- "$cur" ) )
elif [[ "$cur" == +* ]]; then
- COMPREPLY=( $( compgen -W '+compress +contrast +debug +dither \
- +endian +gamma +label +map +matte +negate +page \
- +raise +write' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '+compress +contrast +debug +dither +endian
+ +gamma +label +map +matte +negate +page +raise +write' -- "$cur" ) )
else
_filedir
fi
@@ -231,8 +227,8 @@ _montage()
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" -help )' -- "$cur" ) )
elif [[ "$cur" == +* ]]; then
- COMPREPLY=( $( compgen -W '+adjoin +compress +debug +dither \
- +endian +gamma +label +matte +page' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '+adjoin +compress +debug +dither +endian
+ +gamma +label +matte +page' -- "$cur" ) )
else
_filedir
fi
@@ -249,7 +245,7 @@ _composite()
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" -help )' -- "$cur" ) )
elif [[ "$cur" == +* ]]; then
- COMPREPLY=( $( compgen -W '+compress +debug +dither +endian +label \
+ COMPREPLY=( $( compgen -W '+compress +debug +dither +endian +label
+matte +negate +page +write' -- "$cur" ) )
else
_filedir