Add thumbnail and preview image to Canon CR3 files

Started by Hans Kraus, July 03, 2025, 12:05:36 PM

Previous topic - Next topic

Hans Kraus

Hi,
I have a lot of CR3 files without embedded thumbnail and preview images. I tried:
exiftool "-thumbnailimage<=thumb8486.jpg" "-previewimage<=preview8486.jpg" 8486.CR3but got:
    0 image files updated
    1 image files unchanged
Are these commands not available/valid for CR3 files?
Regards, Hans

blue-j


Phil Harvey

Currently ExifTool can't write these to CR3 files.  But I don't think I have any CR3 samples without both PreviewImage and ThumbnailImage, which I'm guessing is why blue-j suggested uploading a sample.

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

Hans Kraus

Hi, thanks for your interest. The requested files are prepared for download under https://jottacloud.com/s/1169adcc51758064d6f9d81adc709cbef13
The problem I have: if I set the camera - a Canon EOS R5 Mark II - up to record both CR3 raw files and JPGs everything works. But when I record only CR3 raws they are pale and pink displayed, see Screenshot of Irfanview. This happens with image viewers, with explorer thumbnails, other tools which display thumbnails and so on. From one of the tool creators I got the reply that neither thumbnails nor previews are embedded. Therefore my question.
Searching in the net I found postings of some people who have also this pale and pink problem, but no solution.
This doesn't happen with CR3 files generated by my Canon EOS R7.
The system is a Windows 11 pc.
Kind regards, Hans

Phil Harvey

Hi Hans,

We've seen this before.

The file does have a PreviewImage and ThumbnailImage, but they are some sort of compressed data and not a stand-alone image format (like JPEG).  I'm guessing that they could be valid, but it seems that your software doesn't know how to display them.

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


Hans Kraus

#6
Hi, some more diagnosis input:
The problem shows itself if my EOS R5 Mark II is set to HEIF shooting (HDR Shooting (PQ) set to HDR PQ). The camera produces then files with the extension 'HIF', which are, according to the manual, HEIF images. I have installed the Microsoft HEIF extensions. Images from my cell phone with extension 'heic' are displayed correctly.  'HIF' images are not displayed. My assumption is that the Thumbnail/Preview images are in this unknown format also. Until now I found no possibility to show these 'HIF' files. Samples are again under https://jottacloud.com/s/1169adcc51758064d6f9d81adc709cbef13
Kind regards, Hans

Phil Harvey

Hi Hans,

I'm quite sure that HIF is just another extension for HEIF files, but your download link doesn't work for me so I can't look at your samples.

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

StarGeek

Fixed the link. "Kind" was mistakenly appended to the link.

C:\>exiftool -G1 -a -s --system:all -file:all Y:\!temp\x\y\20250302_144047.170_CR5m2-8486.HIF
[File]          FileType                        : HEIF
[File]          FileTypeExtension               : heif
[File]          MIMEType                        : image/heif
[File]          ExifByteOrder                   : Little-endian (Intel, II)
[File]          ImageWidth                      : 8192
[File]          ImageHeight                     : 5464
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype