about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2020-08-13 22:09:08 +0200
committerOliver Kiddle <opk@zsh.org>2020-08-13 22:09:16 +0200
commit478d38006a982b3af09675f1fea105e7a7d1ab4b (patch)
tree4c72d64b1de98abb21929c6951fbc60e9699bb7a
parent4c3d0471612a2999d9178801d156149e1afec4db (diff)
downloadzsh-478d38006a982b3af09675f1fea105e7a7d1ab4b.tar.gz
zsh-478d38006a982b3af09675f1fea105e7a7d1ab4b.tar.xz
zsh-478d38006a982b3af09675f1fea105e7a7d1ab4b.zip
47319: complete more options to ImageMagick's convert command
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_imagemagick7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9abd960aa..685acc48d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-08-13  Oliver Kiddle  <opk@zsh.org>
+
+	* 47319: Completion/Unix/Command/_imagemagick: complete more
+	options to ImageMagick's convert command
+
 2020-08-10  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
 	* 47294: Completion/Debian/Command/_aptitude: updates to options
diff --git a/Completion/Unix/Command/_imagemagick b/Completion/Unix/Command/_imagemagick
index 3afa108ae..b7671fe49 100644
--- a/Completion/Unix/Command/_imagemagick
+++ b/Completion/Unix/Command/_imagemagick
@@ -262,7 +262,10 @@ case "$service" in
     _arguments -C -M 'm:{a-z}={A-Z}' \
       '-adjoin[join images]' \
       '-affine[drawing transform matrix]:matrix' \
+      '-alpha[set the alpha channel]:alpha' \
       '-antialias[remove pixel aliasing]' \
+      '-authenticate[decrypt image with specified password]:password' \
+      '-attenuate[lessen (or intensify) when adding noise to an image]:value' \
       '-append[append image sequence]' \
       '-average[average image sequence]' \
       '-background[specify background color]:color:_x_color' \
@@ -301,6 +304,7 @@ case "$service" in
       '(-endian)+endian' \
       '-enhance[enhance image]' \
       '-equalize[histogram equalization]' \
+      '-features[analyze image features (e.g. contrast, correlation)]:distance' \
       '-fill[specify color to use when filling a graphic primitive]:color:_x_color' \
       '-filter:filter type for resizing:(Point Box Triangle Hermite Hanning Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell Lanczos Bessel Sinc)' \
       '-flatten[flatten a sequence of images]' \
@@ -315,12 +319,14 @@ case "$service" in
       '-gravity:image gravity:(Center North NorthEast East SouthEast South SouthWest West NorthWest)' \
       '-implode:implosion factor (0.0 - 99.9%%)' \
       '-interlace:interlacing scheme:(None Line Plane Partition)' \
+      '-interpolative-resize[resize image using point sampled interpolation]:geometry' \
       '-label:label string' \
       '-layer:layer type:(Red Green Blue Matte)' \
       '-linewidth:line width' \
       '-loop:number of iterations (GIF animation)' \
       '-map[single image colormap file]:picture file for colors:_imagemagick' \
       '+map[all images colormap file]:picture file for colors:_imagemagick' \
+      '-mask[associate a mask with the image]:file:_files' \
       '-matte[store matte channel]' \
       '-modulate:<brightness>,<saturation>,<hue>' \
       '-monochrome[transform to black and white]' \
@@ -352,6 +358,7 @@ case "$service" in
       '-size:image size (<width>x<height>+<offset>)' \
       '-solarize:solarization threshold' \
       '-spread:neighborhood size' \
+      '-support[specify resize support]:support (>1.0 is blurry, < 1.0 is sharp)' \
       '-swirl:swirl tightness' \
       '-texture:background texture image:_imagemagick' \
       '-threshold:threshold for maximum intensity' \