iTextSharp - Problem while extracting images with CCITTFaxDecode
- by user184865
Hi All,
I am using iTextSharp to extract images from PDF. However, if the images are CCITT fax decoded, the bitmap creation fails with "Parameter not valid" error.
As PdfReader.GetStreamBytesRaw returns CCITT encoded bytes, bitmap creation fails.
Can someone please help me with decoding CCITT encoded bytes and in turn create a bitmap out of it?
Thanks,
Chandru