Also convert 'LA' mode pictures to RGB before saving to JPEG