Last post Jun 16, 2017 10:15 PM by JBetancourt
Apr 13, 2017 02:17 AM|rclancyr|LINK
There seem to be several issues when trying to add a transparent PNG logo to a crystal report. Firstly if you add a small sized logo, around 200kb, the report will increase in size to around 10mb. Apparently it saves the image as bitmap. I can't save the
original as bitmap because transparency is lost. I need transparency to have text printing on top of the image.
Another technique is to override the Picture > Graphic Location. This works in the sense that the image can be changed at runtime and a very small image can be stored in the report, but after a few iterations the application still runs out of memory.
What is the workaround for my requirement - transparent PNG not running out of memory?
Jun 16, 2017 10:15 PM|JBetancourt|LINK
Instead of using transparency for the image you can use this trick with a subreport to have the image under the text:
Create a Main Report. Place the image on the Page Header section.
Place the original report as a Subreport on the Report Footer and suppress all other sections (Except the Page Header and Report Footer) of the Main Report
Check 'Underlay following sections' for the Page Header.