On 5/27/2014 11:02 PM, giansluca wrote: > byte[] barray = PdfReader.getStreamBytesRaw((PRStream) stream); You're reading the stream, but... this stream is useless without the corresponding stream dictionary. The stream dictionary will inform you about the Filter that is used, e.g. DCTDecode means you have a JPEG, about the number of components, about the number of bits per component, about the width and the height of the image.
------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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