Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Bad image quality in PDF

edited February 2011 in General
Hello,

I'm using a TppDrawImage for having a background image for the whole report.

The image has 300 dpi, so the quality is quite ok.

When having
ppReport1.DeviceType := dtScreen;
the preview looks good.

When having
ppReport1.DeviceType := dtPDF;
the quality of the image is really poor.

The size of the PDF file is much smaller than expected. It is much
smaller than the JPG used as background image. Seems that the resolution
is automatically reduzed.

How can I avoid this?

Thanks in advance,
Klaus

Comments

  • edited February 2011
    it's a old big problem :(

    It is incredible RB don't fix this.
  • edited February 2011
    Ah, I just found the thread "Change PDF resolution".

    Report.PDFSettings.ScaleImages := False

    solved the issue. Quality of PDF is now as expected.

    Report.PDFSettings.CompressionLevel has also influence on the size of
    the PDF, but it doesn't seem to influence the quality of the image.

    Thanks,
    Klaus




    Am 28.02.2011 09:48, schrieb Enrico Ghezzi:
  • edited February 2011
    Enrico,

    I'm very sorry you are having issues but your post does not help solve it.
    So far I have not received an example demonstrating the problem from you and
    have seen all other customers' issues with PDF image quality solved.

    If your images are exporting at a poor quality, then the
    PDFSettings.ScaleImages property is set to True. This is the default
    setting so if you are loading templates that were saved with this set to
    True, you may be overwriting the setting. (This was the problem Fabio was
    having from the "Change PDF Resolution" thread).



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.