7

I found ExifTool, which allows you to edit almost any piece of metadata from the command line.

However if you try to edit the shutter speed (using exiftool file.tif -shutterspeed=1/200), it simply says:

Warning: Sorry, shutterspeed is not writable

Is there any way (using any tool) to change the exposure time in the metadata? Either in a CR2 or TIFF file.

  • 6
    Why would you want to? It's probably not supported as a writable field because in general no one wants to write it. – Chris H Apr 3 '16 at 12:53
  • 5
    I'm merging bracketed exposures using picturenaut, which only takes shutter speed and aperture into account, not ISO. Often I bracket with ISO as well to avoid super long exposures, so I'd like to edit the exposure times as if all the brackets were shot with ISO 100. Make sense? – Greg Zaal Apr 3 '16 at 14:01
  • 1
    That does make sense. I'd say the solution is to use better software. As I'm mainly on Linux and use GIMP even on Windows, I use a plugin for that for HDR. It doesn't rely on the exposure details (which is just as well as I use its flexibility for related tasks where the illumination changes significantly) – Chris H Apr 3 '16 at 14:27
  • @ChrisH: Another situation where this is necessary is when using a manual lens without electronic contacts. The camera cannot guess the aperture. – Luis A. Florit Dec 7 '17 at 22:47
  • @Luis I have no idea whether the aperture field is writable. That would make more sense. – Chris H Dec 8 '17 at 7:00
15

Using ExifTool, ShutterSpeed is not an actual tag within the file, it's a tag derived from several other values (See Extra Tags). That's why it's grouped under Composite Tags when you follow ExifTool FAQ 3.

As you discovered, the actual tag you want to write to is EXIF:ExposureTime using ExifTool.

3

I found another tool which seems to work just fine: Exiv2

exiv2 -M"set Exif.Photo.ExposureTime 1/200" file.tif
  • 5
    Note that you changed more than just the tool. You switched from the read-only field to the writeable field. So it seems a bit unfair to blame the tool! – Lightness Races in Orbit Apr 3 '16 at 18:33
  • Actually, this does not work for Aperture either. – Luis A. Florit Dec 7 '17 at 22:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.