Hello, I am not able to understand solution below, will you please elaborate. Here is my requirement. 1. I am having one HTML document and I want to convert it into PDF so for that I am using iTextSharp and it is working fine when there is no images 2. but when I tried to put Image (embedded image) in HTML document it is not able to convert that into PDF and giving an error as URI property not supported.
So I just want to know whether I text Sharp supports conversion of embedded images in HTML to PDF. I am implementing it in C# .NET Thank you Regards Rahul Pundlik Senior Software Engineer ---------------------------------------------------- Office Tel: +91-20-39842000 | Ext-2064 | LinkLine 6202064 -----Original Message----- From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Tuesday, August 27, 2013 6:27 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Allow malformed trailer/ID Can you send an actual example of a PDF like that? It's clearly invalid and I'd love to know who made it! Thanks, Leonard On 8/27/13 8:16 AM, "Ivan B. Gregor" <ivanbgre...@gmail.com> wrote: > >Hi, > >Some PDFs contain strange values in trailer/ID, for example: > >trailer ><</Size 17/Info 15 0 R/Root 16 0 R/ID[<><>]>> > >startxref >78443 >%%EOF > >PdfStamperImpl has ArrayIndexOutOfBounds in the case above. Patch below >fixes the issue: > >diff -ru originals/com/itextpdf/text/pdf/PdfEncryption.java >itextpdf-5.4.2-sources/com/itextpdf/text/pdf/PdfEncryption.java >--- originals/com/itextpdf/text/pdf/PdfEncryption.java 2013-05-31 >12:30:32.000000000 +0300 >+++ itextpdf-5.4.2-sources/com/itextpdf/text/pdf/PdfEncryption.java >2013-08-27 13:41:14.000000000 +0300 >@@ -554,11 +554,11 @@ > public static PdfObject createInfoId(byte id[]) { > ByteBuffer buf = new ByteBuffer(90); > buf.append('[').append('<'); >- for (int k = 0; k < 16; ++k) >+ for (int k = 0; k < id.length; ++k) > buf.appendHex(id[k]); > buf.append('>').append('<'); > id = createDocumentId(); >- for (int k = 0; k < 16; ++k) >+ for (int k = 0; k < id.length; ++k) > buf.appendHex(id[k]); > buf.append('>').append(']'); > return new PdfLiteral(buf.toByteArray()); > >-- >Ivan > > > >----------------------------------------------------------------------- >--- >---- >Introducing Performance Central, a new site from SourceForge and >AppDynamics. Performance Central is your source for news, insights, >analysis and resources for efficient Application Performance Management. >Visit us today! >http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.cl >ktr >k >_______________________________________________ >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 ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Information contained and transmitted by this e-mail is confidential and proprietary to iGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or mailad...@igate.com <mailto:mailad...@igate.com>. iGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of iGATE. iGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While iGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of softwar e viruses. You should carry out your own virus checks before opening an attachment. To know more about iGATE please visit www.igate.com <http://www.igate.com>. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ 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