This image is part of the PDF. 

 Philippe 

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Paulo Soares
Envoyé : jeudi 15 juin 2006 12:58
À : Post all your questions about iText here
Objet : [{Spam???}] - Re: [iText-questions] [{Spam?}] - Re: How to assign 
adigitalsignature to anexisting image - Bayesian Filter detected spam - Email 
found in subject

Where is the existing image? If it's not already in the pdf and it's not on 
file, then where?

Paulo

----- Original Message -----
From: "Frankinet Philippe" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here" 
<[email protected]>
Sent: Thursday, June 15, 2006 9:35 AM
Subject: Re: [iText-questions] [{Spam?}] - Re: How to assign a digitalsignature 
to anexisting image - Bayesian Filter detected spam



As Bruno said, the problem now is how to get the indirect reference...
But what i need is not to get the image (or a copy) but to bind to this image : 
add the digital signature to the PDF and link the digital signature to an 
existing image.

Any idea ?


Philippe.


-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Paulo Soares Envoyé : mercredi 14 juin 
2006 11:54 À : Post all your questions about iText here Objet : [{Spam?}] - Re: 
[iText-questions] How to assign a digital signature to anexisting image - 
Bayesian Filter detected spam



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> bruno
> Sent: Wednesday, June 14, 2006 9:19 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] How to assign a digital signature to an 
> existing image
>
> Frankinet Philippe wrote:
>
> > I'm using this code to assign a graphic element to my
> digital signature.
> >
> > ...
> > PdfSignatureAppearance sap = stamper.getSignatureAppearance(); 
> > sap.setVisibleSignature(new Rectangle(100, 100, 200, 200), 1, null); 
> > sap.setImage(image); ....
> >
> > Is there a way to assign the digitial signature to an
> existing image ?
>
> You mean with an image that is already present in the original PDF as 
> an Image XObject? That's not possible with the current iText API.

Yes, it's possible. See Image.getInstance(PRIndirectReference ref). I'm not 
sure if it made it into 1.4.1 or if it's only in the CVS.

Paulo



_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions


_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to