Hi Team,
I am using Itextshap component.

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:

 Please help..its an ASAP requirement.

%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&
.
......
..


kCLkpkCd,Hdu6psLt6psF27&Ee6@WXpa@#?3/s1ea;5Q~>
endstream
endobj
2 0 obj
128530 endobj
3 0 obj
[
/Indexed
   /DeviceRGB
   1
<FFFFFF 000000>
   ]
endobj
4 0 obj
<<
   /Type /Catalog
   /Pages 5 0 R
>>
endobj
5 0 obj
<<
   /Type /Pages
   /Kids
   [
      6 0 R
   ]
   /Count 1
>>
endobj
6 0 obj
<<
   /Type /Page
   /Parent 5 0 R
   /Resources <<
      /XObject <<
         /Im0 1 0 R
>>

      /ProcSet [
         /PDF
         /ImageB
         /ImageC
         /ImageI
         ]

>>

   /MediaBox [ 0 0 611 815 ]
   /CropBox [ 0 0 611 815 ]
   /Contents
   7 0 R

   /Dur -1
>>
endobj
7 0 obj
<<
   /Length 8 0 R
>>
stream
0 0 m q 611 0 0 815 0 0 cm /Im0 Do Q
endstream
endobj
8 0 obj
39 endobj

xref
0 9
0000000000 65535 f
0000000010 00000 n
0000128884 00000 n
0000128908 00000 n
0000128988 00000 n
0000129055 00000 n
0000129154 00000 n
0000129527 00000 n
0000129633 00000 n
trailer
<<
   /Size 9
   /Root 4 0 R
>>
startxref
129655
%%EOF


thanks
Satish
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to