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

  1. I have been trying to integrate YCbCr TIFF support into my project by 
  2. using libtiff and I ran into some inconsistencies between the spec and 
  3. libtiff (this may be the fault of my erroneous interpretation of the 
  4. spec, in which case I need to be corrected.)
  5.  
  6. 1. According to the spec, BitsPerSample (quoting from memory) is supposed
  7.    to be an array sized by the sample count to allow different number
  8.    of bits per sample (e.g. R,G,B = 5,6,5 bits respectively.)  Libtiff
  9.    always treats BitsPerSample as a single quantity.  Is libtiff somehow
  10.    "normalizing" the BitsPerSample to the greatest element of that array?
  11.  
  12. 2. YCbCr files cannot be read by scanlines, but reading by strips works
  13.    as expected.  However, in libtiff there is no way to specify which
  14.    particular sample to load if PlanarConfiguration is 2.  Or is there?
  15.    Tile-based YCbCr files should work, but I have no files in that format.
  16.  
  17. 3. Has anyone integrated JPEG support by using jpeglib?
  18.  
  19. Adam Rybicki                         | SimSoft
  20. arybicki@netcom.com                  | Windows/Win32, C/C++ consulting
  21.  
  22.  
  23.  
  24.  
  25.