Question
Image quality CFPDF
Hello,
I'm creating a PDF with CFDOCUMENT and CFPDF and I have two questions
1. I'm trying to insert an image with the following code:
<cfdocument name="cover" format="pdf">
<img src=" http://www.domain.com/image.jpg">
</cfdocument>
<cfPDF action="write" source="cover" destination="test.pdf" overwrite="yes" />
The image isn't displayed. I only see a broken image link. Is there I way I can fix this?
2. Because I don't know why my image isn't working I use <cfpdf action="addwatermark" image="images/pdf.jpg" opacity="10" ...>. Then I noticed that the image quality is very bad. Is there a way to fix that?
Thanks!
Sam
I'm creating a PDF with CFDOCUMENT and CFPDF and I have two questions
1. I'm trying to insert an image with the following code:
<cfdocument name="cover" format="pdf">
<img src=" http://www.domain.com/image.jpg">
</cfdocument>
<cfPDF action="write" source="cover" destination="test.pdf" overwrite="yes" />
The image isn't displayed. I only see a broken image link. Is there I way I can fix this?
2. Because I don't know why my image isn't working I use <cfpdf action="addwatermark" image="images/pdf.jpg" opacity="10" ...>. Then I noticed that the image quality is very bad. Is there a way to fix that?
Thanks!
Sam
