2004.08.19 12:15 "[Tiff] Tiff conversion using libTiff", by Ionita Alexandru

2004.08.23 15:30 "RE: [Tiff] Tiff conversion using libTiff", by Ionita Alexandru

I've tried to set this fields using tiffset from libtiff, but this error occurs:

D:\work>tiffset -s PhotometricInterpretation 1 TsrFile.tiff
TIFFSetField: TsrFile.tiff: Unknown pseudo-tag 4294967295. Failed to set PhotometricInterpretation=1

D:\work>tiffset -s SamplesPerPixel 1 TsrFile.tiff
TIFFSetField: TsrFile.tiff: Unknown pseudo-tag 4294967295. Failed to set SamplesPerPixel=1

And another thing that I didn't mentionate is that I'm using windows XP, and libtiff is accessed from java, through command Line executed with java.Runtime.getRuntime.exec(commandString). I have to do all this opperations in this conditions.