Export PDF with Images from Tibco Server 6.4
Posted on April 10, 2018 at 11:05am
Hi,
I have a report that is a table with 900 records. Each record contain an image that is loaded from the outside server. I am trying to export this report to PDF and it takes a very long time to complete. Is there a way to speed it up. I went through different tuning suggestions. I use SharedVirtulizer but it is still too slow.
Thanks
Joined: Feb 1 2018 - 12:36pm
Last seen: 1 year 3 months ago
Posted on April 10, 2018 at 4:35pm
Have you tried downloading the images beforehand? There's many software to download images from the net.
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago
Posted on April 11, 2018 at 8:25am
Images are based on the URLs that are in the database. Actual images are in the DAM solution and not possible to download.
Joined: Feb 1 2018 - 12:36pm
Last seen: 1 year 3 months ago
Posted on April 11, 2018 at 9:33am
Does the report load quickly enough? If the report has loaded and rendered already, I do not see why the export should take long since it presumably is only a screen-shot of web view using phantom in the background.
Joined: Nov 3 2017 - 3:11am
Last seen: 5 years 4 months ago
Posted on April 11, 2018 at 10:38am
I think the solution is to create a custom function to pull the image and then get a bytecode and insert into the report. It looks it still takes more than a second to get an image via URL, so I will try to get it directly from the drive. However, Once the bytecode is embeded the PDF export is fast.
Joined: Feb 1 2018 - 12:36pm
Last seen: 1 year 3 months ago
What's the total size of the pdf file and how long does it take?
The final size of the pdf is 89 MB and it takes more than 20 min to complete the export