summaryrefslogtreecommitdiff
path: root/conv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'conv.sh')
-rw-r--r--conv.sh23
1 files changed, 11 insertions, 12 deletions
diff --git a/conv.sh b/conv.sh
index 8c6426b..a6bfdd5 100644
--- a/conv.sh
+++ b/conv.sh
@@ -10,20 +10,19 @@ DEPTH="-depth 1"
modes=(
"o8x8"
"h4x4a"
-)
-# "checks"
-# "o3x3"
-# "o4x4"
-# "h3x3a"
-# "threshold"
-# "h4x4o"
-# "h6x6o"
-# "h8x8o"
-# "h16x16o"
-# "h6x6a"
-# "h8x8a"
+ "checks"
+ "o3x3"
+ "o4x4"
+ "threshold"
+ "h4x4o"
+ "h6x6o"
+ "h8x8o"
+ "h16x16o"
+ "h6x6a"
+ "h8x8a"
+)
for mode in "${modes[@]}"; do
convert "$1" ${COMMON_OPT} -ordered-dither ${mode} ${DEPTH} output-${mode}.jpg
convert "$1" ${COMMON_OPT} -ordered-dither ${mode} ${DEPTH} src/output_${mode}.xbm