AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1994.08.11 08:41 "Help", by Eric Nelson
1994.08.12 19:06 "Re: Help", by Dan McCoy

1994.08.11 08:41 "Help", by Eric Nelson

Version is

    3.30beta 002

If I say

    TIFFSetField(tif, TIFFTAG_RESOLUTIONUNIT, RESUNIT_INCH);
    TIFFSetField(tif, TIFFTAG_XRESOLUTION, 100);
    TIFFSetField(tif, TIFFTAG_YRESOLUTION, 100);

I get

    TIFF Directory at offset 0x107ac8
      Subfile Type: (0 = 0x0)
      Image Width: 600 Image Length: 600
>>>>> Resolution: 0, 0 pixels/inch <<<<<<<<<<<<<<<<<<<<<
      Bits/Sample: 8
      Compression Scheme: none
      Photometric Interpretation: RGB color
      Orientation: row 0 top, col 0 lhs
      Samples/Pixel: 3
      Rows/Strip: 1
      Planar Configuration: single image plane

What's wrong?

-------------------------------------------------------------------------------
Eric Nelson                              Email: eric@hpbbn.hp.com
WSG Technical Consulting                 Tel: +49 (7031) 14-7146 24h/24
Herrenberger Stra^e 130                  Fax: +49 (7031) 14-4196 24h/24
71034 BNblingen  GERMANY
-------------------------------------------------------------------------------