Add libjpeg and libexif and write proper jpeg files with all the metadata normal cameras provide.
I guess you mean disable location in the EXIF data? the other things are nice to have like the timestamp and the shutter/iso/focal lenght
Yes, I mean the location data (not sure if that was even scope of this issue).
The important exif values are implemented now, the image stores the date, iso, shutter speed, optical parameters and the device name.