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

  1. Hi:
  2. Is it possible to retreive the GrayResponseCurve array using libtiff ? I get
  3. zeroes returned. Here are the code fragments. Any ideas ?
  4.  
  5. short grayResponseCurve[256];
  6.  
  7. TIFFGetField(tif, TIFFTAG_GRAYRESPONSECURVE, grayResponseCurve);
  8.  
  9. I also need to retreive 32 bytes of info at TAG 65535, which is undefined. I
  10. noticed that 'tiffdump' works, but it looks like 'tiffdump' does not use
  11. TIFFGetField().
  12.  
  13. Thanks very much,
  14. Bob
  15.  
  16. /*----------------------------------------------------------------------*/
  17. //    Bob Kozdemba                        SiliconGraphics Computer Systems
  18. //    Systems Engineer                    4705B Crossroads Park Drive
  19. //    koz@sgi.com                         Liverpool, NY 13088
  20. //    Telephone (315) 451-0378            FAX (315) 451-0572 
  21. /*----------------------------------------------------------------------*/
  22.  
  23.  
  24.  
  25.  
  26.  
  27.