1994.12.23 14:50 "retreiving GrayResponseCurve and undefined tag info", by Bob Kozdemba

1994.12.23 14:50 "retreiving GrayResponseCurve and undefined tag info", by Bob Kozdemba

Hi:

Is it possible to retreive the GrayResponseCurve array using libtiff? I get zeroes returned. Here are the code fragments. Any ideas?

short grayResponseCurve[256];

TIFFGetField(tif, TIFFTAG_GRAYRESPONSECURVE, grayResponseCurve);

I also need to retreive 32 bytes of info at TAG 65535, which is undefined. I noticed that 'tiffdump' works, but it looks like 'tiffdump' does not use TIFFGetField().

Thanks very much,
Bob

/*----------------------------------------------------------------------*/
//    Bob Kozdemba                        SiliconGraphics Computer Systems
//    Systems Engineer                    4705B Crossroads Park Drive
//    koz@sgi.com                         Liverpool, NY 13088
//    Telephone (315) 451-0378            FAX (315) 451-0572 
/*----------------------------------------------------------------------*/