BOTH the Matrix AND the transform commands in the content stream are used when 
rendering - the details of the procedure are documented in ISO 32000-1.

I would be quite surprised to find that JPEDAL is not doing the right thing 
here.  Are you using the current version?  Have you contact them for support?

Leonard

From: Fortin, Mathieu [mailto:[email protected]]
Sent: Friday, October 02, 2009 10:58 AM
To: [email protected]
Subject: [iText-questions] Transformation matrix (itext vs jpedal)

When an image is used in a signature appearance and that image needs to be  
transformed, IText writes the transformation commands in a command block in the 
content stream (q 2 0 0 2 0 0 Do Q cm) and leave the image matrix in the PDF as 
/Matrix[1 0 0 1 0 0].

On the other hand Jpedal uses the matrix to transform the image, so documents 
signed by itext does not render correctly. The original image size is always 
used.

Is there a way to put the transformation ONLY in the /Matrix? Or changes to the 
code is required?

Adobe seems to use the /Matrix attribute and so it renders correctly in Jpedal.



Mathieu Fortin

[email protected]<mailto:[email protected]>



Notarius inc.

1080 Côte Beaver-Hall, Bureau 700

Montréal, Québec, H2Y2R6



Avis de confidentialité / Confidentiality 
Notice<http://www.notarius.com/public/legal/confidentialite.html>



Notarius inc. - Certifié ISO 9001 : 2000

Centre de certification du Québec - Certifié ISO 27001 : 2005

Merci de penser à votre environnement avant d'imprimer ce courriel  P



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to