User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 Build Identifier: LibreOffice 5.0.3.2 Transparent PNG images get an ugly gray borderline when exporting it with LibreOffice PDF export feature (tested with 5.x and 4.x). It seems that a color transition from color to 100% transparency causes that problem. It does not matter which compression or graphics resolution I use in the PDF export options. If I export the document with other programs (like PDFCreator or MS Office) there is no gray borderline. I will attach an example. Reproducible: Always [Information automatically included from LibreOffice] Locale: de Module: TextDocument [Information guessed from browser] OS: Windows (All) OS is 64bit: yes Reset User Profile?No
Created attachment 121332 [details] Grey borderline at transparency edge of a PNG image, only in LibO export PDF file
Can you attach an example .odt with the .png in it, so we can reproduce it? Thank you!
Created attachment 121495 [details] Example file with transparent PNG
I encountered the same problem under Debian. Thomas's attachment gives me a distorted image in the exported PDF too. The strange thing is that some PNG images get distorted and some not. For me, downgrading of LibreOffice from v5.1.0 to v5.0.2 was the only way of avoiding this issue.
Andreas B.: Do you need another information? I attached the sample document and another person confirmed the issue and commented that downgrading LibreOffice eliminates the issue.
Dear Bug Submitter, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping-20161207
With comment 5 I attached a sample file and I asked if further info is required.
I can confirm it, but I'm not sure if it's a LibreOffice Bug. If you open the generated PDF with the Firefox Integrated PDF Viewer, it displays the gray Border. With Evince the Gray border is also visible. With chrome also. Because of this: The bug is confirmed. BUT: If I save the image from PDF to a .png file from Evince (which displays the border) the image doesn't contain the border. If I open the PDF with GIMP, there is no Gray Border. I changed the status to NEW, as it's confirmed. It may would be helpful also to attach a good example, e.g. from PDFCreator.
Created attachment 131029 [details] ZIP package with SVG (original), PNG, PDF and ODT files Andreas B.: Thanks for your investigation. Maybe it's a bug in Inkscape's PNG export function. But it's weird that some programs do export or show a grey border and another not. LibreOffice does and only with its internal PDF export function - external PDF creators do not. Attached in the ZIP package you will find the original Inkscape SVG file, PDF and PNG files (exported from SVG) and the Writer file with the embedded PNG file.
Created attachment 131030 [details] PDF file, created with LibreOffice 5.3.0.3
Created attachment 131031 [details] PDF file, created with PDFCreator 2.3.1
I checked the PDF files. The PDF Created from LibreOffice contains an image with transparent background. The PDF Created with PDFCreator contains an image with WHITE BACKGROUND! Therefore it can also be a Problem with the PDF reader (as I tested last time, e.g. GIMP imports the PDF correctly). So I set the JPEG export option, but LibreOffice still exports the transparent PNG as Transparent PNG. I'm currently not sure if this a Bug or a feature (removing the transparency of an Image may look wrong, so may transparent PNGs are excluded) This seems to be a really complicated Problem. I'm currently not sure if it's really a problem with LibreOffice...
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I tested the files from 2015 and 2017 again and it seems that the issue does no longer occur. Tested with Version: 6.3.0.4 (x64) Build-ID: 057fc023c990d676a43019934386b85b21a9ee99 CPU-Threads: 12; BS: Windows 10.0; UI-Render: Standard; VCL: win; Gebietsschema: de-AT (de_AT); UI-Sprache: de-DE Calc: threaded Therefore I close the bug as worksforme (and not as notourbug). Maybe another one can confirm the change in LibreOffice pdf export behavior.