Skip to main content
Inspiring
August 10, 2006
Question

DPI in <cfdocument>

  • August 10, 2006
  • 1 reply
  • 383 views
I am attempting to use a printable image using <cfdocument> by generating a
PDF. Is there a way to include a 300dpi background image so it can be sharp.
I tried to use a 300dpi jpg in the code, but it came out HUGE. I need to
generate a multiple page document with the same base image and dynamic
information included from a database.

Thanks

--
Wally Kolcz
Developer / Support


This topic has been closed for replies.

1 reply

November 9, 2006
I've found that the following works for background images:
<div style="position:absolute; top:0; left:0; z-index:0;width:100%;height:100%;">
<img src="Background.jpg" width="100%" height="100%" alt="" border="0">
</div>

Hope that helps some.