Error in GPSInfo directory
Errors reported in GPSInfo directory in JPEG:s created by Darktable (0.8).
Result when running on original RAW/NEF image:
$ exiv2 -M"add Iptc.Application2.Credit String Test" test1.NEF
Result when running on JPEG generated by Darktable:
$ exiv2 -M"add Iptc.Application2.Credit String Test" test1.jpg Error: Directory GPSInfo: IFD entry 0 lies outside of the data buffer. Error: Directory GPSInfo: IFD entry 0 lies outside of the data buffer.
The same errors are also reported by exiftool.
Warning: Deleted bad GPS directory - test1.jpg Error: Truncated GPS directory - test1.jpg
Interesting(?) sidenote: having commandline exiv2 (0.19) process the image leads to metadata having been cleaned up. Ie. if I run the exiv2 command above twice, the second time around no errors are reported.
Same errors not reported by JPEG:s generated from same RAW/NEF by, for example, GIMP (ufraw) or Digikam.