extract preview image from CR2

Started by jimmyiiiphoto, August 23, 2015, 12:36:58 PM

Previous topic - Next topic

jimmyiiiphoto

My CR2 image is not showing a preview in the finder window and when I ran this script I get an error.

First I ran this in Terminal on mac:
Image-ExifTool-10.00/exiftool -PreviewImage -b jimmy2.CR2 > Canon_JFR.JPG

Then this pops up:
Error: File format error - jimmy2.CR2

I really need these images from a wedding I just shot and hope there's a way to at least get a jpeg from the CR2.

Any help would be greatly appreciated.

I attached the zipped up CR2 image.


Phil Harvey

This file is only 26 kB.  There is not enough data for a raw image here.

- 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 ($).

jimmyiiiphoto

I have the image compressed as a zip file.

After I extract the image, my computer is showing the file as 27.5 MB.

Is this correct?

Thanks

Phil Harvey

The raw data shouldn't compress well.  The compressed file should also be around 25 MB.  Is it?

- 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 ($).