graphlcd-base/tools/convpic/c_bmp2glcd
changeset 4 df6a40031aa5
equal deleted inserted replaced
3:d0e62fc47285 4:df6a40031aa5
       
     1 #!/bin/sh
       
     2 # Converts all BMP images to *.glcd
       
     3 
       
     4 old=bmp
       
     5 new=glcd
       
     6 
       
     7 for file in ./*."$old"; do
       
     8   convpic -i "$file" -o "`basename \"$file\" \"$old\"`$new"
       
     9 done
       
    10