Hi togehter,
yes there are some other threads about this topic, but nothing is really satisfying.
By inserting this into the main CSS PDF template:
@pagetTeng
{
background-image: url('/download/attachments/xxxxx/xxxxx.jpg');
background-repeat: no-repeat;
background-position: top right;
}
....It works, but the image output quality on the PDF is not quite good, esp. if you use text within. Going bigger than 55px in height will result in text collision and even give the header more space by using margin(etc.) does not effect the quality of the used image.
Any suggestions ?
Thank you.
Jochen,
What will be the function of the image in your PDF file? Do you intend to use it as a watermark, for example?
If you were to host the image elsewhere, instead of grabbing from a Confluence attachment, does the same happen with the quality?
Could you show us an example of how the image looks vs how you expect it to look (i.e. the original file)?
Thank you for your help.
Regards,
Shannon
The purpose of the image is to export var. documents as PDF with our company-header (like we have on our stationery).
As far as I can see, the main problem is the reslolution, because it seems that only 96dpi is used, so i can only use a pixture around 800px wide.
Higher quality images like normal DIN A4 paper by 600dpi are around 5000px wide, but will be cut off and not fitted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jochen,
Thank you for letting me know that.
About my other questions - were you able to confirm if you host the image elsewhere, does it help? What about the examples of how it looks currently vs what's expected?
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.