Hi,

For history, see here:

http://itext-general.2136553.n4.nabble.com/5-1-3-PDF-parsing-changes-td4145786.html

part4.chapter15.MyImageRenderListener =>
http://itextpdf.com/examples/iia.php?id=283
part3.chapter10.ImageTypes => http://itextpdf.com/examples/iia.php?id=183

Tested with iTextsharp 5.2.0.0, don't know about the java version. The
C# version still tries to extract the JBIG2 image from the sample PDF
"image_types.pdf" created by part3.chapter10.ImageTypes. A corrupt
file named "Image18.jbig2" is still being created, even though an
Exception is thrown:

>> part4.chapter15.ExtractImages.exe
[UnsupportedPdfException: The color depth 4 is not supported.]
   at iTextSharp.text.pdf.parser.PdfImageObject.DecodeImageBytes()
   at iTextSharp.text.pdf.parser.ImageRenderInfo.PrepareImageObject()
   at iTextSharp.text.pdf.parser.ImageRenderInfo.GetImage()
   at part4.chapter15.MyImageRenderListener.RenderImage(ImageRenderInfo
renderInfo)

Thanks

Attachment: part4.chapter15.ExtractImages.cs
Description: Binary data

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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