]
Pete Muir updated JBSEAM-3377:
------------------------------
Assignee: (was: Norman Richards)
iText's p:image ignores dpi
---------------------------
Key: JBSEAM-3377
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3377
Project: Seam
Issue Type: Bug
Components: PDF
Affects Versions: 2.0.2.SP1
Environment: jboss 4.2.2.GA
Reporter: arne anka
Attachments: foo.pdf, foo.png
i got a pdf with 600dpi and a size of 1427x1311px.
according to simple math and gimp that means a physical size of 2.38x2.18in or 6x5.5cm,
which would easily fit onto an A4 page.
but the rendered A4 pdf shows only a part of the image since it does not fit.
i append the image and the pdf.
my xhtml is below, note that setting dpi="600 600" does make _no_ difference!
<p:document
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://jboss.com/products/seam/pdf"
pageSize="A4">
<p:image alignment="center" dpi="600 600"
value="/img/foo.png" />
</p:document>
i am strongly interested in a workaround.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: