Bug report #7885
transparency value applied to composer image item displaying a vector svg file broken
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||16758|
QGIS composer's image item has broken transparency support when displaying a vector svg file. The transparency value is applied to each individual svg objects (polygons and paths) instead of the overall resulting image. This effectively makes it so that svg-based images can't be used if transparency is needed.
I'm attaching an SVG file that shows this issue quite well, as well as screenshot.
[layouts][FEATURE] Don't force the whole layout to be rasterized
when exporting to PDF
If an individual layout item needs rasterisation in order to
be exported correctly, it can now be individually rasterised
without forcing every other item to also be rasterised.
This allows exports to PDF keeping as much as possible as vectors,
e.g. a map with layer opacity won't force labels, scalebars, etc
to be rasterised too.
To accompany this, a new "Always export as vectors" checkbox
was added to layout properties. If checked, this will force
the export to keep items as vectors, even when it causes the
output to look different to layouts.