Also convert 'LA' mode pictures to RGB before saving to JPEG
Convert all non-RGB formats to RGB before saving to JPEG