We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c28d1 commit 3831fcbCopy full SHA for 3831fcb
image/image_bit_depth.sh
@@ -20,10 +20,7 @@
20
#//////////////////////////////////////////////////////////////
21
22
if (( $# >= 3 )); then
23
- for var in "$@"
24
- do
25
- convert -depth "$3" +dither "$2" "$1"
26
- done
+ convert -depth "$3" +dither "$2" "$1"
27
else
28
echo "Usage: ${0##*/} <input image file> <ouput image file> <color bit depth (Per chanel)>"
29
exit 1
image/image_resize.sh
- convert -resize "$3" "$1" "$2"
+ convert -resize "$3" "$1" "$2"
echo "Usage: ${0##*/} <input image file> <ouput image file> <size (in % or pixel)>"
0 commit comments