in reply to Convert BMP to JPG?

Why not just use "find" and "convert" (from ImageMagick)?

find . -type f -name '*.bmp' -exec convert {} {}.jpg \;