diff options
Diffstat (limited to 'conv.sh')
-rw-r--r-- | conv.sh | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -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 |