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

2006.01.03 19:08 "Re: [Tiff] read all uncompressed tiff data", by Rocky Pulley

Thanks, I figured it out, I just added a Decode field and inverted the array to [1 0], which inverses the black & white.

  Another problem that I'm having though is that it seems fine for any multi-strip tiff, I've tried packbits and lzw both, but when the image is all in one strip (which is generally what we always use here), I get an error displaying the image from acrobat. Basically, it's one strip that's height is the same height as the whole image.

  Anyway, I'll keep at it and hopefully find some fix for that, thanks for the advice!

  -- Rocky

Joris <joris.at.lebbeke@skynet.be> wrote: Rocky Pulley wrote:

Thanks for the info on this. I'm trying this idea of not uncompressing the data. It seems to work but the image is inverted.

What is inverted? Upside-down? Or black and white becoming white and black?

Is there some property that you know of to set in the PDF for showing that this field is reversed?

Assuming that it is a black and white issue as you seem to indicate, take a close look at the PhotometricInterpretation tag. There is often confusion between MinIsWhite and MinIsBlack on the TIFF side. As to the PDF side... I don't know from the top of my head, but I seem to remember that aside from the images (as stored in XObject objects?), the surrounding pseudo-postscript (inside the page object contents streams?) can influence the matter, and maybe swap black and white?

Sorry I'm probably not able to help on this issue. But if you do find out, please let us know on-list.

Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping