Also convert 'LA' mode pictures to RGB before saving to JPEG
Convert all non-RGB formats to RGB before saving to JPEG
Merge pull request #379 from renaudguerin/master

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