Thank you so much. Seems like I can easily extract the buffered image after I
throw the stream into the PdfImageObject, regardless of what filter type it
uses. So glad someone has already done the job.
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/FlateDecode-Probl
So I am having problems of extracting an image from a pdf file. After I get
the image stream and identify the decoding method as FlateDecode, I decode
it and create an image file. But somehow the ImageIO.read(inputStream) is
giving me a nullpointerexception. What is the problem? Am I decoding the