diff options
-rw-r--r-- | conv.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ + + +new_width=200 +new_height=200 +convert "$1" -resize ${new_width}x${new_height} -colorspace Gray -dither Floyd-Steinberg -monochrome output.jpg +convert "$1" -resize ${new_width}x${new_height} -colorspace Gray -dither Floyd-Steinberg -monochrome output.xbm +convert "$1" -resize ${new_width}x${new_height} -colorspace Gray -ordered-dither o8x8,4 -depth 1 output2.jpg +convert "$1" -resize ${new_width}x${new_height} -colorspace Gray -ordered-dither o8x8,4 -depth 1 output2.xbm |