home *** CD-ROM | disk | FTP | other *** search
/ Internet File Formats / InternetFileFormatsCD.bin / graphics / tiff / unix / archive.z / archive / text0100.txt < prev    next >
Encoding:
Text File  |  1995-09-20  |  1004 b   |  27 lines

  1. On Tue, 24 Jan 1995, Sam Leffler wrote:
  2.  
  3. >     2. YCbCr files cannot be read by scanlines, but reading by strips works
  4. >        as expected.  However, in libtiff there is no way to specify which
  5. >        particular sample to load if PlanarConfiguration is 2.  Or is there?
  6. >        Tile-based YCbCr files should work, but I have no files in that format.
  7. > If PlanarConfig is 2 (separate planes) then individual samples
  8. > are in different strips/tiles; to get a particular sample you
  9. > read the appropriate strip/tile.
  10. >     
  11. >     Sam
  12.  
  13. Sure, this sounds obvious.  However, when I want to load a tile, I 
  14. specify which tile _and_which_sample_ of that tile to load via 
  15. TIFFReadTile().  TIFFReadStrip(), however, does not accept the sample 
  16. number as one of its parameters.
  17.  
  18. So, how do I indicate to libtiff which strip sample to load?  Or does it 
  19. simply concatenate the samples?
  20.  
  21. Adam Rybicki                         | SimSoft
  22. arybicki@netcom.com                  | Windows/Win32, C/C++ consulting
  23.  
  24.  
  25.  
  26.