Thanks again Stefan. Both work great - i'm not sure which one to use now!
I dont suppose you could help me out with the next step of my problem. I need to convert these BMPs to JPGs (a 40kb JPG is better than a 1mb BMP!) Are you aware of any free windows command line utilities that can do this so I can add it to the end of this batch script?
I didn't do this on my own,but you may take an look at
Here are just a few examples of what ImageMagick can do:
* Format conversion: convert an image from one format to another (e.g. PNG to JPEG).
I myself convert sometimes with IrfanView which can be used by command line too, see:
i_view32 c:\test.bmp /c=c:\giftest.gif
Convert file: 'c:\test.bmp' to 'c:\giftest.gif' without GUI
(Note: supported are all IrfanView Read/Save formats
irfanview SOURCE_FILE /convert=DESTINATION_FILE
SOURCE_FILE: The path to the image you wish to convert
DESTTINATION_FILE: The path to the converted image. Choose one of the file formats supported by IrfanView.
For example, the following DOS command would convert image "football.jpg" to a PNG format with file "football.png":
irfanview football.jpg /convert=football.png
You may want to read the help or google for more infos.