Converting TIFF CCITT Group 4 to uncompressed
Posted: 2011-12-14T10:26:26-07:00
Hi,
I'm writing an app in C++ where I have a TIFF image in memory which is compressed with CCITT group 4.
I need to feed this image to Tesseract for OCR recognition. However, Tesseract requires an uncompressed image.
Is it possible with Magic++ to uncompress this TIFF in memory, leaving it as a TIFF? A code snippet or example would be really helpful.
Thanks
Phil
I'm writing an app in C++ where I have a TIFF image in memory which is compressed with CCITT group 4.
I need to feed this image to Tesseract for OCR recognition. However, Tesseract requires an uncompressed image.
Is it possible with Magic++ to uncompress this TIFF in memory, leaving it as a TIFF? A code snippet or example would be really helpful.
Thanks
Phil