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

Low image quality in pdf (when stretch=true)

edited March 2011 in General
Hi Guys

I have seen the recent posts regarding image quality in pdf files and
have the followign question to add:

We have the following situation:

When a graphic is loaded into Image1 and the Image1 is set to Stretch
the image quality is reduced to an unacceptable level (when slightly
zoomed into the pixelation is clearly visible) and the resulting
printout is of a low quality

When Image1 is set NOT to stretch the image quality is excellent but
only a fraction of the image is contained in the Image1 placeholder
(obviously)

In both cases we set

ppReport1.PDFSettings.ScaleImages:=False;

after the report has been loaded.

Is there any way at all around this? Our clients do not have time to
manually resize their images so that they fit into Image1, so stretch
needs to be true, but they also expect the quality of the image to be
maintained....

Thanks for your time

Regards

Glenn Greatwood
Key-Data Systems

Comments

  • edited March 2011
    On 09/03/2011 09:10, Glenn Greatwood wrote:
    oops forgot to add we're currently using Delphi7 with RB ver: 10.07

    thanks

    Glenn
  • edited March 2011
    Hi Glenn,

    Are you able to recreate this with a simple example? If so, send the
    example in .zip format to support@digital-metaphors.com and I'll take a
    look at it for you.

    Note that when you stretch an image, it is a function of the PDF viewer
    to properly display it. ReportBuilder simply exports the bitmap
    information and size, then the PDF viewer takes that information and
    outputs an image.


    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2011
    On 09/03/2011 14:26, Nico Cizik (Digital Metaphors) wrote:
    Hi Nico

    Thanks for your reply, we'll send you an example of the resulting pdf
    file along with the original image that was used to create it, would
    that help? Or is there something else that we should send?

    Regards

    Glenn
  • edited March 2011
    Thanks Glenn,

    I received your message and will get back to you as soon as possible.


    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2011
    For any other readers of this thread, Nico and I have now tracked the
    issue down to the fact that we currently use an old ReportBuilder add-in
    called TExtraDevices. This is why the PDFSettings properties had no
    effect. ExtraDevices had to have the ScaleImages property set to false
    as well....Having done this all works as expected and very well.

    Thanks again Nico

    Glenn


This discussion has been closed.