Hello, I have a program that creates PDF/A files from images. I tried to update the iTextSharp version that is used in the program from 5.3.2 to 5.3.5, but then it stops working. If I use 5.3.4 or an older 5.3.x version, my code works as expected. I have uploaded a simplified version of my source code to this location: https://dl.dropbox.com/u/39711085/TestITextSharp-20130207.zip The zip contains a Visual Studio 2012 project, a sample tiff and the 5.3.4 and 5.3.5 versions of itextsharp.dll and itextsharp.pdfa.dll. If I set the iTextSharp references in the project to the 5.3.4 assemblies, program output is: ------------------------------------------------------------------------------ TestITextSharp tests iTextSharp's functionality to embed a tiff image in PDF/A Usage: TestITextSharp <tiff file>
Creating PDF file 'test.tif.pdf' from image 'test.tif' ... Created PDF file 'test.tif.pdf'. Done. Press Enter to end program. ------------------------------------------------------------------------------ If I change the assembly references to the iTextSharp 5.3.5 versions, pdf creation fails. Program output is: ------------------------------------------------------------------------------ TestITextSharp tests iTextSharp's functionality to embed a tiff image in PDF/A Usage: TestITextSharp <tiff file> Creating PDF file 'test.tif.pdf' from image 'test.tif' ... Unbalanced marked content operators. Unbalanced marked content operators. Failed to create PDF file. Done. Press Enter to end program. ------------------------------------------------------------------------------ As the only difference between the two tests is the iTextSharp version, it appears to me that something is broken in the newest release version. I would appreciate if you would look in to it. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ 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