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

Print and PDF Image Transparency

edited February 2017 in Devices
I'm currently trying to figure out how to get a transparent png logo
image to print and convert to pdf without losing the transparency
(transparent pixels turn to black.) I've seen several mentions of this
as a planned feature, and a recent mention of a feature making use of
the top left pixel rather than the alpha channel to simulate
transparency in pdfs, but I'm curious about the current feature set and
troubleshooting / best practices for this.

Thanks

Comments

  • edited February 2017
    Hi Samuel,

    Which version of ReportBuilder and Delphi are you using?

    The latest version of ReportBuilder uses masking to simulate transparancy.

    By default the bottom-left pixel is used for the transparent color.
    This can be overridden by assigning the TBitmap.TransparentColor and
    setting the TransparentMode to tmFixed.

    If you are having an issue with a certain image, please send it to
    support@digital-metaphors.com and we'll test it here and address any
    problems.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2017
    On 2/16/2017 3:28 PM, Nico Cizik (Digital Metaphors) wrote:

    I'm using Delphi XE6 (v20) and RB 17.02. The masking does seem to work
    in preview, but is lost when printing and exporting to PDF, so I'm not
    sure if overriding masking settings would help in this case. I'll send
    the image, thanks for the offer.
This discussion has been closed.