The user has to call readJpgData directly
Added method to read BMP data