New Forum | Previous | Next | (P-PDF) Developers
Topic: Tiff Compression
Conf: (P-PDF) Developers, Msg: 59515
Date: 5/29/2002 05:39 PM
I'm using the libtif (www.libtiff.org) library to return information about tiff images, so I can insert them into pdf documents. But when it comes to compression, I'm somewhat baffeled. Inside the pdf stream as you all know you use the /Filter keyword to tell it what kind od compression your using, but when I query the tif using the libtif to get the kind of compression it only returns an int value of 6. What kind of /Filter should I use for this?? Is there somekind of place where it tells me what this is? I looked at the libtif doc, but its somewhat hyroglyphic in nature.
This is the call I'm using for the libtif: TIFFGetField(var, IFFTAG_COMPRESSION, &compression)This returns the kind of compression the tiff uses in the form of an int. But I don't know what each number means as far as which filter is to read it inside the pdf file?? Can anyone help me with this??????
Thanks in advance!!!!!!