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
September 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.09.01 05:23 "DPI setting", by <poom@kosugi-msoft.jp>
2004.09.01 08:50 "Re: DPI setting", by Patrick Harris
2004.09.01 08:59 "Re: DPI setting", by <poom@kosugi-msoft.jp>
2004.09.01 17:08 "Re: DPI setting", by Andrey Kiselev
2004.09.01 13:55 "Re: DPI setting", by Frank Warmerdam

2004.09.01 13:55 "Re: DPI setting", by Frank Warmerdam

> TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, 8,8,8);

Poom,

On an unrelated point, I believe you are only supposed to pass a single
value when setting TIFFTAG_BITSPERSAMPLE.

eg.
      TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, 8 );

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