comparison frontends/wix/images/split_card.sh @ 84:7471ffcda33b

misc: split_cards: fix bad replacement
author Goffi <goffi@goffi.org>
date Thu, 06 May 2010 20:47:48 +0930
parents 21f83796a293
children 50f1591c8fc6
comparison
equal deleted inserted replaced
83:1ac759ea28c3 84:7471ffcda33b
61 fi 61 fi
62 else 62 else
63 mkdir $dest_dir 63 mkdir $dest_dir
64 fi 64 fi
65 echo "splitting $dest_dir" 65 echo "splitting $dest_dir"
66 convert Tarot$dest_dir.jpg -bordercolor black -crop 14x6@ -fuzz 50% -trim $dest_dir/card_%02d.png 2>/dev/null 66 convert Tarotcards.jpg -bordercolor black -crop 14x6@ -fuzz 50% -trim $dest_dir/card_%02d.png 2>/dev/null
67 cd $dest_dir 67 cd $dest_dir
68 68
69 #POST PROCESSING 69 #POST PROCESSING
70 70
71 nb_files=`ls -A1 card*png | wc -l` 71 nb_files=`ls -A1 card*png | wc -l`