Issue: .png image with transparancy rendered black in .PDF

Questions and answers on how to use DOCXReadWrite
Post Reply
oz_
Posts: 5
Joined: Tue Dec 15, 2020 8:04 am

Issue: .png image with transparancy rendered black in .PDF

Post by oz_ »

Hi,

I'm adding an .png image to .docx. In Word the image is displayed correctly. When exporting to .PDF the image is rendered all black.

Test-Image:
https://ibb.co/r2YcmNy
Could you please have a look at this issue?

King regards,
Orest.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Issue: .png image with transparancy rendered black in .PDF

Post by larsa »

Hello

I can confirm the issue, but the problem is that this happens when the PNG is converted to a TBitmap using delphi methods. The PDF only accept TBitmap images. Sorry, not much to do.
Lars Arvidsson, Axolot Data
Post Reply