AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.01.03 13:01 "[Tiff] read all uncompressed tiff data", by Rocky Pulley
2006.01.03 17:12 "Re: [Tiff] read all uncompressed tiff data", by Joris Van Damme
2006.01.03 18:23 "Re: [Tiff] read all uncompressed tiff data", by Rocky Pulley
2006.01.03 18:51 "Re: [Tiff] read all uncompressed tiff data", by Joris Van Damme
2006.01.03 19:08 "Re: [Tiff] read all uncompressed tiff data", by Rocky Pulley
2006.01.04 09:25 "Re: [Tiff] read all uncompressed tiff data", by Gerben Vos
2006.01.04 11:22 "Re: [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.