ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: zoharby on September 04, 2011, 08:38:19 PM

Title: Getting a Nikon camera to display an edited image
Post by: zoharby on September 04, 2011, 08:38:19 PM
Hi,

I'm trying to get my Nikon D5100 to display images I created.
I want to create jpeg of topo maps to use in a trek. Of course I can take pictures of the computer screen with the camera, but it's awkward...
Tried to convince the camera to read edited files, but no success...
Tried taking a file taken with the camera, edit the image and save back to the SD card. No luck - camera says: "Cannot display this file".
Tried running ExifTool with -tagsfromfile from the original image. Still no luck...
Tried using -b to extract the preview image from the original file and add it back to the edited file. No change :-/
Looking at the outputs of ExifTool on both files now, the main difference is the "Serial Number" field that's missing from the modified file. Any way to write it back to the modified file?

Has anyone had success with getting a Nikon DSLR to read edited files with ExifTool?

Thanks,
Zohar
Title: Re: Getting a Nikon camera to display an edited image
Post by: Phil Harvey on September 05, 2011, 07:15:16 AM
Hi Zohar,

I don't understand why the serial number wouldn't be copied if you used a command like this:

exiftool -all= -tagsfromfile original.jpg -all:all edited.jpg

This together with copying the PreviewImage with a second command should solve all of the metadata problems.  However, the camera may not like the new image if it has the wrong YCbCrSubSampling or some other image attribute like this.

- Phil