Bug 44729 - PDF import from Inkscape PDF export with opacity shows black background for each opaque object
Summary: PDF import from Inkscape PDF export with opacity shows black background for e...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
3.4.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Import-Draw PDF-Export
  Show dependency treegraph
 
Reported: 2012-01-12 09:21 UTC by mathog
Modified: 2024-09-09 00:47 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test pdf, exported from Inkscape (13.10 KB, application/pdf)
2012-01-12 09:21 UTC, mathog
Details
Original SVG file, from which the PDF was created. (5.86 KB, image/svg+xml)
2012-01-12 09:23 UTC, mathog
Details
New opacity test (PDF) (2.93 KB, application/pdf)
2014-04-26 15:17 UTC, vvort
Details
New opacity test (SVG) (3.39 KB, image/svg)
2014-04-26 15:18 UTC, vvort
Details
opcacity import in LO 6.3.0.4 (57.60 KB, image/png)
2019-08-23 19:41 UTC, paulystefan
Details
import opacity svg in 6.3.0.4 and export to pdf (13.56 KB, application/pdf)
2019-08-23 19:43 UTC, paulystefan
Details
import opacity-test3 svg in 6.3.0.4 and export to pdf (3.25 KB, application/pdf)
2019-08-23 19:44 UTC, paulystefan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mathog 2012-01-12 09:21:44 UTC
Created attachment 55499 [details]
Test pdf, exported from Inkscape

PDF with opacity exported from Inkscape.  Looks OK in PDF viewers.  When LODraw imports there is a black rectangle the size of the entire drawing for each opaque object.  In this example there are 3 such rectangles.  Delete them and only two of the circles remain (not sure why).  This is with 3.4.4 release.
Comment 1 mathog 2012-01-12 09:23:05 UTC
Created attachment 55500 [details]
Original SVG file, from which the PDF was created.
Comment 2 mathog 2012-01-12 09:25:04 UTC
This is a specific problem peeled out of bug 43806
Comment 3 mathog 2012-01-12 09:29:22 UTC Comment hidden (obsolete)
Comment 4 mathog 2012-01-20 11:00:12 UTC Comment hidden (obsolete)
Comment 5 tester8 2012-01-20 13:59:11 UTC
Reproduced with

LOdev 3.5.0beta3
e40af8c-10029e3-615e522-88673a2-727f724
Ubuntu 10.04.3 x86
Linux 2.6.32-37-generic Russian UI
Comment 6 Buovjaga 2014-04-22 11:22:46 UTC
Confirmed on LO 4.2.3.3 / Win7 64-bit.
Comment 7 vvort 2014-04-26 15:17:17 UTC
Created attachment 98041 [details]
New opacity test (PDF)

To implement PDF opacity features correctly we need to support opacity value setting not only per-object, but also per-group.
Actually, we need masking, but per-group opacity will be good too.
For example, we have 3 circles drawn one on top of each other. Then opacity applied to this group.
Result will differ if we draw one circle with opacity, then draw second circle, then draw third one.
Here are examples in SVG and PDF.
Comment 8 vvort 2014-04-26 15:18:09 UTC
Created attachment 98042 [details]
New opacity test (SVG)
Comment 9 QA Administrators 2015-06-08 14:42:27 UTC Comment hidden (obsolete)
Comment 10 Heiko Tietze 2016-05-09 15:01:36 UTC
Confirmed

Version: 5.2.0.0.alpha0+
Build ID: 6b232aeecc55f1715bc111e636e36a8e24827efb
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-26_07:40:04
Locale: de-DE (de_DE)
Comment 11 QA Administrators 2017-10-30 08:31:36 UTC Comment hidden (obsolete)
Comment 12 paulystefan 2017-11-27 20:25:15 UTC Comment hidden (obsolete)
Comment 13 paulystefan 2018-08-23 12:55:44 UTC
some changes in view in 6.1.0.3 to previous version 6.0.x and before.

but bugs are present in svg and pdf.
Comment 14 paulystefan 2019-08-23 19:41:04 UTC
Created attachment 153607 [details]
opcacity import in LO 6.3.0.4

circles in window are not complete, but export to pdf is with full circle and ok
in LO 6.3.0.4
Comment 15 paulystefan 2019-08-23 19:43:09 UTC
Created attachment 153608 [details]
import opacity svg in 6.3.0.4 and export to pdf

opacity.svg in 6.3.0.4 pdf is now ok in export to pdf
Comment 16 paulystefan 2019-08-23 19:44:54 UTC
Created attachment 153609 [details]
import opacity-test3 svg in 6.3.0.4 and export to pdf

svg import of test3 to 6.3.0.4 and export to pdf is ok
Comment 17 paulystefan 2019-08-23 19:48:31 UTC
color in opacity-test3.svg import in 6.3.0.4 and in pdf is not same like in acro reader and firefox
Comment 18 QA Administrators 2021-08-23 03:51:35 UTC Comment hidden (obsolete)
Comment 19 Timur 2021-08-23 07:08:13 UTC
Repro 7.3+.
Comment 20 QA Administrators 2023-08-24 03:14:24 UTC Comment hidden (obsolete)
Comment 21 Dave Gilbert 2024-09-09 00:47:48 UTC
Essentially an opacity subtest from tdf#43806