AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.11.16 22:37 "[Tiff] reading Affymetrix tiff images", by sridhar duggireddy
2003.11.17 09:13 "[Tiff] reading Affymetrix tiff images", by
2003.11.17 14:18 "[Tiff] reading Affymetrix tiff images", by Frank Warmerdam
2003.11.17 17:12 "[Tiff] reading Affymetrix tiff images", by sridhar duggireddy
2003.11.17 17:25 "[Tiff] reading Affymetrix tiff images", by Frank Warmerdam
2003.11.17 23:30 "[Tiff] reading Affymetrix tiff images", by Ross Finlayson
2003.12.26 02:25 "[Tiff] problems with custom TIFF", by Pushkar Pradhan
2003.12.26 09:36 "Re: [Tiff] problems with custom TIFF", by Andrey Kiselev
2003.12.30 00:09 "RE: [Tiff] problems with custom TIFF", by Pushkar Pradhan
2003.12.30 00:27 "Re: [Tiff] problems with custom TIFF", by Joris
2003.12.30 00:47 "RE: [Tiff] problems with custom TIFF", by Pushkar Pradhan
2003.12.30 01:09 "Re: [Tiff] problems with custom TIFF", by Joris
2003.12.31 11:40 "Re: [Tiff] problems with custom TIFF", by Andrey Kiselev
2004.01.01 23:11 "RE: [Tiff] problems with custom TIFF", by Pushkar Pradhan
2004.01.03 23:17 "[Tiff] Resampled TIFF doesn't open in viewer", by Pushkar Pradhan
2004.01.05 20:09 "Re: [Tiff] Resampled TIFF doesn't open in viewer", by Andrey Kiselev
2004.01.23 04:48 "[Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Pushkar Pradhan
2004.01.23 05:15 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 07:39 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Andrey Kiselev
2004.01.23 15:18 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 15:48 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 15:57 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 16:44 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 18:59 "RE: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Pushkar Pradhan
2004.01.23 20:29 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Andrey Kiselev

2003.12.30 00:47 "RE: [Tiff] problems with custom TIFF", by Pushkar Pradhan

Here's mail with > prefix, I was using "Indent original messages on replies and forwards" but it seems that not all can see that indent. I wasn't sure how much to remove from the original post so I mailed the whole messages.

Now my question:

> On Thu, Dec 25, 2003 at 08:25:47PM -0600, Pushkar Pradhan wrote:

> Here's my code for more information:

> size = TIFFReadEncodedStrip(tif, strip, bufRGB, (tsize_t)-1);

> ^^^^^^^^^^^^^

> Why do you using -1 here? It should be a size of bufRGB in bytes.

I read the libtiff tutorial which suggests using (tsize_t)-1) as it will read in the whole tile/strip by default. It seems to work okay for me.

I'm now writing out the extrasamples tag but still IMAGINE can't open the file for viewing.

This is how I get/set in the tags is this correct?

 TIFFGetField(tif, TIFFTAG_EXTRASAMPLES, &tags->extra, &tags->extraTypes);
 TIFFSetField(wtif, TIFFTAG_EXTRASAMPLES, wtags.extra, wtags.extraTypes);

Where tag members are:
  uint16 extra;
  uint16 *extraTypes;

Pushkar