Replies: 5 comments 2 replies
-
I can confirm that there are any topics of SVG usage (I work with BIRT 4.6 & 4.8). So we are not able to add SVG realy in a simple way to the report but some code snippets show that this was planed. Nevertheless I think we need time to investigate on it and had to change the image handling parts. |
Beta Was this translation helpful? Give feedback.
-
I just tested to create a PDF with an SVG image in BIRT 4.2.1. The result is a PDF without an image - the SVG drawing instructions result in PDF vector drawing instructions (not a bitmap). So this very useful functionality somehow got lost between 4.3.0 and 4.10. Can you test my report with BIRT 4.6 and 4.8? |
Beta Was this translation helpful? Give feedback.
-
I created and ran another test (see attachment svg-test.zip) for SVG images with the PDF emitter. SVG images as vector graphics actually do work in many cases. To see if an image is a bitmap or vector graphics, it is best to open the PDF in Adobe Reader instead of the browser.
SVG image item, source: URI: OK Bug 1: Bug 2: Remark 3: |
Beta Was this translation helpful? Give feedback.
-
See draft PR #1195, which doesn't fix the "PDF is rendered as bitmap" issue, but at least allows to set a different DPI value for print-quaility bitmaps from SVG backround images. |
Beta Was this translation helpful? Give feedback.
-
@speckyspooky You recently looked into the details of image handling, so you probably know this stuff better than I do: Are you able to fix (some of) the issues and remarks I mentioned? |
Beta Was this translation helpful? Give feedback.
-
IIRC BIRT 4.3.0 supported rendering SVG images (Image items, not background-image) as vector graphic with the PDF emitter.
Yesterday I tested images with the master branch and now it seems that SVGs are always converted to bitmaps in the PDF emitter.
Apart from sizing issues (which I'll describe in another discussion), this has a disadvantage:
With a DPI resolution good for printing (e.g. 300 or 600), this results in bigger PDF files.
With a lower DPI resolution, this results in visible pixels in printed output.
Beta Was this translation helpful? Give feedback.
All reactions