Bug 203632 - Inkscape opacity elements don't get rendered
Summary: Inkscape opacity elements don't get rendered
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.9
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 23:24 UTC by Karsten König
Modified: 2009-08-13 01:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
overlay with opacity (521.29 KB, application/pdf)
2009-08-12 23:26 UTC, Karsten König
Details
overlay using alpha-channel transparency (works) (519.67 KB, application/pdf)
2009-08-12 23:27 UTC, Karsten König
Details
reference screenshot, this is how it should look like (40.95 KB, image/jpeg)
2009-08-12 23:30 UTC, Karsten König
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten König 2009-08-12 23:24:48 UTC
Version:           0.9 (using KDE 4.3.0)
OS:                Linux
Installed from:    SuSE RPMs

Copied the important bits over from openSUSE bugreport, confirmed on 4.3 from me
https://bugzilla.novell.com/show_bug.cgi?id=530310


I created an image with Inkscape that includes pixel data and vector objects.
Making a vector object semi transparent using the "opacity" option of inkscape
creates trouble, using the alpha-channel to do so works.

All of the created pdf documents display just fine using:

- evince
- adobe acrobat reader


opacity creates transparency for the whole vector object including filling and
the lines.

going the alpha-channel way allows for individual control of transparency for
filling and the lines.

in the reference image for opacity also the black outline of the green object
is somewhat transparent (looks gray). in the alpha-channel image only the green
filling is transparent, the green outline has RGBA data of (0,255,0,1) and is
therefore fully saturated / not transparent. The filling has something like
(0,255,0,0.5) and is therefore semitransparent.

All the other parts of the image are just pixel-data and were imported to
inkscape as a png screenshot.

(attachments comming right up)
Comment 1 Karsten König 2009-08-12 23:26:46 UTC
Created attachment 36111 [details]
overlay with opacity
Comment 2 Karsten König 2009-08-12 23:27:43 UTC
Created attachment 36112 [details]
overlay using alpha-channel transparency (works)
Comment 3 Karsten König 2009-08-12 23:30:02 UTC
Created attachment 36113 [details]
reference screenshot, this is how it should look like
Comment 4 Pino Toscano 2009-08-13 00:29:11 UTC
Hi,

Okular does not load and render PDF files by itself, but uses a library called Poppler. Given the bug is actually in the Poppler library, you should please report it to Poppler's bug tracking system, at https://bugs.freedesktop.org, "poppler" product.

Thanks.
Comment 5 madworm_de.kde 2009-08-13 00:40:43 UTC
Done. There's a related bug from 2007. I added this.
Comment 6 Karsten König 2009-08-13 00:57:44 UTC
But evince renders it properly and is poppler based as well?
Comment 7 Pino Toscano 2009-08-13 01:00:46 UTC
Evince uses a different rendering backend in Poppler.