Bug 92924 - Export to PDF loses transparency
Summary: Export to PDF loses transparency
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.4.4.3 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
: 79047 (view as bug list)
Depends on:
Blocks: PDF-Import-Draw PDF-Export
  Show dependency treegraph
 
Reported: 2015-07-25 04:37 UTC by Gianpaolo
Modified: 2022-11-27 23:57 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
sample odg drawing (23.91 KB, application/vnd.oasis.opendocument.graphics)
2015-07-25 13:02 UTC, Gianpaolo
Details
Stamps example (144.92 KB, application/pdf)
2015-07-26 08:34 UTC, Gianpaolo
Details
Bug Example with v.6.0.5.2(x64) (197.93 KB, application/pdf)
2018-07-24 12:45 UTC, LittleTux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gianpaolo 2015-07-25 04:37:14 UTC
When exporting a drawing with transparent background to PDF, the transparency is lost. I'm using OpenOffice 4.1.1 on Windows 7 Pro.
Comment 1 ribotb 2015-07-25 10:14:56 UTC Comment hidden (obsolete)
Comment 2 Gianpaolo 2015-07-25 13:02:02 UTC
Created attachment 117432 [details]
sample odg drawing
Comment 3 Gianpaolo 2015-07-25 13:03:08 UTC Comment hidden (obsolete)
Comment 4 Gianpaolo 2015-07-25 13:04:49 UTC Comment hidden (obsolete)
Comment 5 Jean-Baptiste Faure 2015-07-25 20:14:55 UTC Comment hidden (obsolete)
Comment 6 Gianpaolo 2015-07-26 04:26:46 UTC
Dear Jean-Baptiste
As you can see in the header I'm using Libreoffice 4.4.4.3 on windows 7.
I wanted to say: 
I'm using also OpenOffice 4.1.1 (and the issue is the same).
Kindest regards,
Gianpaolo
Comment 7 Jean-Baptiste Faure 2015-07-26 06:15:55 UTC Comment hidden (obsolete)
Comment 8 Gianpaolo 2015-07-26 08:33:32 UTC
I will try to explain:
I use the software Pdf-XChange Editor (http://www.tracker-software.com/product/pdf-xchange-editor) that allows to view, edit and comment pdf documents.
There are preinstalled stamps that can be stamped on any document, but there is also the possibility to create custom stamps. To make this you can use drawings in PDF format. If the PDF is not transparent you can see the white background under the stamp, see Stamps Example 01.pdf.
By the way Inkscape exports transparency correctly .
Kind regards,
Gianpaolo
Comment 9 Gianpaolo 2015-07-26 08:34:29 UTC
Created attachment 117442 [details]
Stamps example
Comment 10 Gianpaolo 2015-07-27 14:16:54 UTC
If this can help I found a work-around for this bug in the Openoffice forum that works also with Libreoffice.
"https://forum.openoffice.org/en/forum/viewtopic.php?f=11&t=66631&hilit=pdf+transparent"
Comment 11 Jean-Baptiste Faure 2015-07-29 20:04:53 UTC Comment hidden (obsolete)
Comment 12 Gianpaolo 2015-07-30 03:40:14 UTC Comment hidden (obsolete)
Comment 13 Buovjaga 2015-08-01 15:10:48 UTC
I exported the odg from Draw to PDF and confirmed in Inkscape that the transparent parts have turned white.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 902255645328efde34ddf62227c8278e8dd61ff0
TinderBox: Win-x86@39, Branch:master, Time: 2015-07-30_03:52:07
Locale: en-US (fi_FI)
Comment 14 Heiko Tietze 2016-05-10 08:40:41 UTC
*** Bug 58482 has been marked as a duplicate of this bug. ***
Comment 15 Heiko Tietze 2016-05-10 09:21:39 UTC
*** Bug 79047 has been marked as a duplicate of this bug. ***
Comment 16 QA Administrators 2017-10-30 08:31:57 UTC Comment hidden (obsolete)
Comment 17 LittleTux 2018-07-24 12:45:44 UTC
Created attachment 143726 [details]
Bug Example with v.6.0.5.2(x64)

I can confirm that the bug still exists.

I have just tried in the latest version 6.0.5.2.(x64) 
Steps to reproduce the bug:
- create a new document with LibreOffice Draw, 
- check and set the page background color setting to none
- draw a basic rectangle 
- export to PDF 
- check the background color with Adobe or PDF-XChange Editor

It's should be transparent but it will be white
Comment 18 QA Administrators 2019-07-30 03:16:56 UTC Comment hidden (obsolete)
Comment 19 kem 2020-01-16 03:30:13 UTC
Bug still present; version info:

Version: 6.3.4.2
Build ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 20 Marco Marinello 2020-05-26 11:12:24 UTC
Seems to be still reproducible in 6.4.3.2
Comment 21 KeepTools 2021-05-16 09:49:38 UTC
Draw seems to export the "Document background" that is set in Tools - Options - LibreOffice - Application colors - Document background". 
As this is not a document property, it should not be included in an export.
(Unfortunately this configuration item cannot be set to 'transparent' - that could have been a workaround.)
Comment 22 Rajasekaran Karunanithi 2022-11-27 23:57:56 UTC
Still reproducable in LO 7.4.3.2  under Windows 10(x64).

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ta-IN (en_IN); UI: en-US
Calc: threaded