LOOM-JPEGPLUSPLUS: only encode exif info into jpeg if we absolutely need to