for j in *.jpg
do 
  magick "$j" -brightness-contrast 22x98 -gamma 0.9,0.9,0.9  -threshold 50% -monochrome  convert/${j%.*}.png
done






# convert -brightness-contrast 30x25 -gamma 0.5,0.5,0.5 a01.jpg convert/a01.jpg

# convert -brightness-contrast 20x90 -gamma 0.5,0.5,0.5 a01.jpg convert/a01.jpg

# magick a01.jpg -brightness-contrast 20x98 -gamma 0.5,0.5,0.5 -threshold 40%   convert/a01.jpg

# magick a01.jpg -brightness-contrast 20x98 -gamma 0.9,0.9,0.9  -threshold 40%  convert/a01.jpg

# magick a01.jpg -brightness-contrast 22x98 -gamma 0.9,0.9,0.9  -threshold 50% -monochrome  convert/a01.jpg


# convert a16.png a16.bmp
# potrace a16.bmp 
# potrace --svg --opaque --opttolerance 0.4  --turdsize 400 a16.bmp -o a16.svg
