tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/261-sizing-images-from-html-to-pdf-xsltCascade CMS: Discussion 2014-12-04T15:13:09Ztag:help-archives.hannonhill.com,2010-02-09:Comment/40289872011-03-04T18:49:28Z2011-03-04T18:49:28ZSizing images from html to pdf xslt<div><p>The reason images show so large in the PDF is that FOP's DPI is
hardwired to 72. Images typically look better at 90 or 100 DPI.
I've modified the format and placed it on Github to support custom
DPI settings. Here is the entire revised format:<br>
<a href=
"https://github.com/hannonhill/Cascade-Server-XSLT/blob/master/PDF/xhtml2fo2pdf_with_TOC.xsl">
https://github.com/hannonhill/Cascade-Server-XSLT/blob/master/PDF/x...</a></p>
<p>And here is the patch to support custom DPI if you'd like to
manually make the changes to your format:<br>
<a href=
"https://github.com/hannonhill/Cascade-Server-XSLT/commit/09da7e533621e1abb434e7360a3b1cb87adeb897">
https://github.com/hannonhill/Cascade-Server-XSLT/commit/09da7e5336...</a></p></div>Ross