AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.08.19 12:15 "Tiff conversion using libTiff", by Ionita Alexandru
2004.08.19 13:38 "Re: Tiff conversion using libTiff", by Joris Van Damme
2004.08.20 16:24 "Re: Tiff conversion using libTiff", by Joris Van Damme
2004.08.20 16:37 "Re: Tiff conversion using libTiff", by Ross A Finlayson
2004.08.23 15:30 "Re: Tiff conversion using libTiff", by Ionita Alexandru
2004.08.23 15:47 "tiffset - photometricinterpretation problems", by Frank Warmerdam
2004.08.23 15:36 "Re: Tiff conversion using libTiff", by Ionita Alexandru
2004.08.20 08:25 "Tiff conversion using libtiff", by Ross A Finlayson
2004.08.20 08:56 "Re: Tiff conversion using libtiff", by Joris Van Damme

2004.08.23 15:47 "tiffset - photometricinterpretation problems", by Frank Warmerdam

Alexandru, Ionita wrote:
> 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.

Ionita,

This problem has undergone substantial revision since the last public release
(I think), and I don't get the same message.  Instead I get the value set
improperly.  I have created a bug report for this at:

   http://bugzilla.remotesensing.org/show_bug.cgi?id=600

If you know a set of particular fields you want to be able to set you might
want to just hack tiffset.c to handle them properly.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent