Converting TIFF CCITT Group 4 to uncompressed

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
phild
Posts: 1
Joined: 2011-12-14T08:58:32-07:00
Authentication code: 8675308

Converting TIFF CCITT Group 4 to uncompressed

Post by phild »

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
Post Reply