It can't be done in PDF. You can add the image later but the signature won't cover all the document. Look in the mailing list archives for other threads discussing this.
Paulo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Francisco > Sent: Tuesday, July 18, 2006 1:48 PM > To: [email protected] > Subject: [iText-questions] PDF417 y signed data > > Hi, > > I generate a signed pdf document, but I´ve a problem because > I need to generate > de barcode 417 with the pkcs7 value. > > When I generate the pdf and sign with the external sign I > need to execute the > stamper.preclose() > > later at this sentence I can not put the image in the pdf, I > tried to put with > Contentbyte > > sap.preclose() > .... > com.lowagie.text.pdf.PdfContentByte uno = stp.getUnderContent(1); > uno.addImage(img,true); > > and the image doesn´t appear in the pdf file. > > > If I tried with document.add(img) the document was closed. > > I don´t know the correct steps. > Someone know how can I do? > > thanks > Fco. Marzabal Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
