2001.01.14 19:43 "Re: bmp -> tiff", by Helge Blischke
I have monochrome data in a buffer taken from a bitmap file. I have converted to the data from double word aligned to byte aligned. I need to write this uncompressed data to a compressed ccitt g4 tif file in a single strip. Is there a way to do this with libtiff?
I don't think with libtiff alone. You have several choices:
- Use ImageMagick (the convert utility)
- Hack a little PostScript wrapper around your bitmap data
- or use something like ppmtops to create a PostScript file,
- and then use Ghostsctipt (-sDEVICE=tiffg4 -sOutputFile=filename).