Posted on 2007-01-03 17:47:17-08 by qlx
Need Help With Adding Tags not in the PrintConv


Problem: Changing the ColorSpace in an EXIF IFD table.


Error:
C:\ExifTool>exiftool -ColorSpace='sRGB' tifftest1.tif Can't convert ExifIFD:ColorSpace (not in PrintConv) 0 image files updated 1 image files unchanged

Creative Solution #1:
1. Extract the binary data from an existing EXIF Table with the ColorSpace already set to sRGB.
C:\ExifTool>exiftool -exif -b tifftest3.tif > sRGBEXIF.dat


2. Insert the binary data from this .dat file into the new file.
C:\ExifTool>exiftool -ColorSpace< =sRGBEXIF.dat tifftest1.tif Color Space : Uncalibrated
As you can see, this is not working as I hoped it would. I am using the documentation that reads:

-*TAG*< =*DATFILE* or -*TAG*< =*FMT*
Set the value of a tag from the contents of a file *DATEFILE*. The file name may also be given by a *FMT* string where....

Can anybody clue me in on what is the best strategy to obtain my objective of force changing an Uncalibrated ColorSpace to a sRGB ColorSpace?

-QLx
Direct Responses: 3969 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.