1999.05.17 01:34 "CCITT compressing without writing a file.", by Kevin D. Quitt

1999.05.17 01:34 "CCITT compressing without writing a file.", by Kevin D. Quitt

I am currently processing images. They arrive with various types of compression and various bit depths. I reduce them to single-bit-per-pixel, and want to compress them with Group IV CCITT. Currently, I am doing this by writing a new TIFF file, then reading it back in to get the compressed data. Surely there is a way I can compress from memory to memory, avoiding the overhead of having to create a new TIFF image, and the disk activity.

I'm sure I'm overlooking something obvious; can I buy a clue?

-- 
#include <standard.disclaimer>
 _
Kevin D Quitt  USA 91351-4454           96.37% of all statistics are made up
Per the FCA, this email address may not be added to any commercial mail list