Warning: [minor] Error reading PreviewImage

Started by orclex, June 14, 2017, 04:45:40 AM

Previous topic - Next topic

orclex

Hi,

I got following error when editing exif data with exiftool on my pictures:

Warning: [minor] Error reading PreviewImage - DSC01730.JPG

However, I can extract the PreviewImage and it is created...

exiftool -b -PreviewImage DSC01730.JPG >Preview.jpg
Warning: [minor] Error reading PreviewImage - DSC01730.JPG


Aren't exif tags fully supported for my Sony camera?

Pictures were taken from a Sony Alpha 7 II (ILCE-7M2). Exiftool is 10.40 on Ubuntu Linux 17.04.

Thanks!

Phil Harvey

Good point.  The ICLE-7M2 stores a zero-length PreviewImage in the EXIF maker notes (which ExifTool warns about), and the actual PreviewImage is in the MPF trailer (which is extracted properly).

I will include a patch in ExifTool 10.57 to suppress this warning.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).