2006.01.03 13:01 "[Tiff] read all uncompressed tiff data", by Rocky Pulley

2006.01.03 13:01 "[Tiff] read all uncompressed tiff data", by Rocky Pulley

Hi, I'm writing a PDF converter and I need to get the TIFF data in one uncompressed chunk to put in the file. Is it possible to somehow say:

unsigned char *data;
int size;

TIFFGetImageData(myTiff, &data, &size);

I am hoping that I don't have to do anything based on the RGB info or compression level, I'm just wanting some way to get the image data of the tiff. I will need to use this metadata when writing info about the image to the file, but I'm sort of hoping that I can just get the image data in an easy call.

Is this possible?

---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.