The image support in signatures, as the text, is rather basic and is
aimed at quickly producing a signature without much hassle. If you
require more than that create your own appearance, you have access to
all the layers. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of M.Nadal
> Sent: Wednesday, June 01, 2005 9:56 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] PDF Signature Appearance with image
> 
> Hello all!
> 
> First of all I want to congratulate iText authors. I've been 
> working in PDF 
> Signatures for a long time and I've recently discovered your 
> library. It's very 
> good. I've been able to sign PDFs files with quite appearance 
> configuration in 
> a few hours.
> 
> I've downloaded PDFSignatureAppearance's Early Access version 
> in order to be 
> able to put an image in the signature field. I've been trying 
> with different 
> image types an different scales, and I've been reading the 
> code, and it seems 
> you always center the image in the rectangle. And the text 
> too. Then, when you 
> have text and image, its quite dificult to read/see it 
> (specially when the 
> image is a barcode).
> 
> I would like to know if it's possible to configure, througth 
> your API, the 
> image position in the rectangle, without modifying your code.
> 
> Now I'm using:
> 
> PdfReader pdfReader = new PdfReader(pdfIn);
> PdfStamper stp = PdfStamper.createSignature(pdfReader, os, 
> '\0', null, true);
> PdfSignatureAppearance sap = stp.getSignatureAppearance();
> BarcodePDF417 bc = new BarcodePDF417();
> bc.setText(someText);
> sap.setImage(bc.getImage());
> sap.setImageScale(1F);
> 
> Thanks in advance!
> 
> M.Nadal
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit 
> http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to