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:
PDF-1.4
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 [
/ASCII85Decode
/CCITTFaxDecode
]
/Length 2 0 R
>>
stream
jb4%GH6W]o7mrTKL<rMVS?&$ukor/HN[!\IN/H%QM"2j*Th@p#8@g8gA2H\sk4=BSO<?i`4qgHu,tXA5&
:Q*8<6rNWXst#),O#fg7X=Vo/DnR_i'i[sDeY8@gW?dTH;FqJM1m
1-:oS#+2";:pL;[BtUkdkdq#UWC0%LG])K*8/U:dmE!fuGrWMFe7h(.Ah_3V6iK40<PNaGu'jP\?Ihl.@