AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.10.08 15:55 "[Tiff] Monochrome tiff to monochrome bitmap. Howto do it?", by
2005.10.08 17:27 "Re: [Tiff] Monochrome tiff to monochrome bitmap. Howto do it?", by Joris

2005.10.08 15:55 "[Tiff] Monochrome tiff to monochrome bitmap. Howto do it?", by

Hello,

I am trying to program a tiff viewer and I have a little problem.

Loading a monochrome tiff, it of course loads into the RGBA bitmap (using TIFFReadRGBAImage), thus using a lot more memory than necessary.

I would like to be able to specify my bitmap as monochrome and use pf1bit to load the monochrome tiff bitmap into it, so that I can keep the footprint of the program as little as possible,

But I have not found a way to read Monochrome tiff into monochrome bitmap. Am I missing something? Anyone has done this before?

Any help in this issue is appreciated.

Thank you very much for your help,

Frank Mayer