Free Support Forum -

Extracting CCITTFaxDecode images

I'm currently trying to extract an image from a pdf file

The pdf is made from a scanner i.e ImagePDF: it has a single page that contains one big image.

this image is encoded with /ASCII85Decode /CCITTFaxDecode .

So i want to decode the stream..??? is it possible.???

When looking at the file I find the following:


1 0 obj


/Type /XObject

/Subtype /Image

/Width 2544

/Height 3396

/ColorSpace 3 0 R

/BitsPerComponent 1

/DecodeParms [




/Rows 3396

/BlackIs1 true

/Columns 2544

/K -1



/Filter [




/Length 2 0 R






Hi Satish,

Do you mean you just want to extract this image from the PDF file or you want to process this image after extracting it? Which platform you’re working with – .NET or Java? Also, please share the input PDF file with us, so we could investigate the issue at our end and guide you accordingly.


yes process this image after extracting it, Actualy I want to decrypt the PDF stream.! and i am using .NET.!

Hi Satish,

I would like to share with you that Aspose.Pdf for .NET allows you to extract images from the PDF files. You may try the following example: Extract Images from the PDF File. If you want to apply OCR on the extracted image then you may try Aspose.OCR for .NET.

I hope this helps. If you find any further questions, please do let us know.