Can't write Bayer Green Split tag, is it possible?

Started by paulinventome, January 03, 2014, 06:10:58 AM

Previous topic - Next topic

paulinventome

Hi,

I have some cDNGs here with odd looking values in the Bayer Green Split tag but i am unable to update the value, i'm using

exiftool -BayerGreenSplit=0 test.dng

I've managed to update Camera Serial Number by doing the same kind of thing exiftool -CameraSerialNumber=test test.dng and that did update.

So perhaps this tag cannot be updated?

thanks
Paul

Phil Harvey

Hi Paul,

If you check the EXIF tag name documentation, you will see that BayerGreenSplit is writable, but the default write location is SubIFD.  So the tag will only be written if the SubIFD exists (because ExifTool will not create a new SubIFD).  Use the -G1 option when extracting to see where it is in your image, and write to the same location.

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

paulinventome

Thanks Phil,

I've only just started using exiftool for forgive me ignorance :)

The -G1 options shows the BayerGreenSplit as

[IFD0] BayerGreenSplit : 5000

along with lots of other tags with the same IFD0

Does that help? What would i need to do to update some of these tags?

thanks
Paul

Phil Harvey

Hi Paul,

The command would look like this then:

exiftool -ifd0:bayergreensplit=0 test.dng

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