On 12/08/2011 19:23, Edward Cooke wrote:

Hello all, I'm pretty new to iTextSharp and I'm trying to add the image of a signature, it's a simple windows image, to a PDF signature field.

When I go to close the stamper, I get a null reference exception, and the pdf is not written to the memory stream. All the sample's I've found include setting a certificate when doing the image. (I'd prefer not to have to do this yet.)

I'm not sure if I understand your question.

Do you want to create a PDF that is NOT digitally signed, but that shows the image of a signature? Or do you want to create a PDF this IS digitally signed, and shows an image of a signature in the signature field?

I don't understand how you would expect a PDF to be digitally signed without a Private key and Public Certificate.
See http://www.slideshare.net/blowagie/pdf-digital-signatures

If adding an image of a signature is all you want, and if you don't require the PDF to be digitally signed, why would you use a signature field?

Are you sure you understand the concept of digital signatures?
Digital signatures have nothing to do with scanned signatures stored as an image.
------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
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

Reply via email to