I have a page with the following styles:
Encoded image is 794x1124px@300dpi.
No matter what value used for dpi, in output pdf the background is of very bad quality.
Is there a workaround of this problem?
PrinceXml version 8.0
@page {
background: url(data:image/jpg;base64, --ENCODED IMG--) no-repeat 0 0;
background-image-resolution: 300dpi, 300dpi;
margin: 58mm 10mm 29mm 10mm !important;
size: A4;
}
Encoded image is 794x1124px@300dpi.
No matter what value used for dpi, in output pdf the background is of very bad quality.
Is there a workaround of this problem?
PrinceXml version 8.0