Thread

Posted on Wed Jan 3 19:47:17 2007 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
Posted on Wed Jan 3 20:01:01 2007 by exiftool in response to 3968
Re: Need Help With Adding Tags not in the PrintConv
Ah ha. The problem is your shell. In the Windows cmd.exe shell, you must double quote the entire argument:

C:\ExifTool> exiftool "-ColorSpace=sRGB" tifftest1.tif

(or in this case, you could do it without the quotes entirely).

- Phil
Write a response