Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
pull/5/head v1.3.21
Bensuperpc 1 year ago
parent 10c28d1696
commit 3831fcb324
  1. 5
      image/image_bit_depth.sh
  2. 5
      image/image_resize.sh

@ -20,10 +20,7 @@
#//////////////////////////////////////////////////////////////
if (( $# >= 3 )); then
for var in "$@"
do
convert -depth "$3" +dither "$2" "$1"
done
convert -depth "$3" +dither "$2" "$1"
else
echo "Usage: ${0##*/} <input image file> <ouput image file> <color bit depth (Per chanel)>"
exit 1

@ -20,10 +20,7 @@
#//////////////////////////////////////////////////////////////
if (( $# >= 3 )); then
for var in "$@"
do
convert -resize "$3" "$1" "$2"
done
convert -resize "$3" "$1" "$2"
else
echo "Usage: ${0##*/} <input image file> <ouput image file> <size (in % or pixel)>"
exit 1

Loading…
Cancel
Save