Summary: | Conversion from PPT(X) to PDF via LibreOffice Headless distorts background color (gradient) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | florian |
Component: | Printing and PDF export | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | trivial | CC: | rb.henschel, stephane.guillou |
Priority: | medium | ||
Version: | 7.5.9.2 release | ||
Hardware: | All | ||
OS: | Linux (All) | ||
URL: | https://ask.libreoffice.org/t/powerpoint-to-pdf-conversion-changes-colors/105199 | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 36766 | ||
Attachments: |
Test Powerpoint Document
Refrence Picture Colors Result PDF Refrence Picture Colors Source PPTX Compare 2-stop with 3-stop gradient in pptx |
Description
florian
2024-05-06 12:39:14 UTC
Created attachment 193997 [details]
Test Powerpoint Document
Created attachment 193998 [details]
Refrence Picture Colors Result PDF
Created attachment 193999 [details]
Refrence Picture Colors Source PPTX
Created attachment 194096 [details]
Compare 2-stop with 3-stop gradient in pptx
The interpolation of a two-stop-color gradient is different to a three-stop-color gradient in MS Office even if the third stop is at the same place and has the same color as the start or end stop of the two-stop-color gradient. MS Office seems to use a somehow quadratic interpolation in the two-stops-color gradient case.
Open attached document in PowerPoint. It has in the middle a rectangle with two-stop-color gradient and below it a rectangle with three-stop-color gradient. Above is a screenshot of the two rectangles as rendered in PowerPoint.
Then open the file in LibreOffice.
LibreOffice has only linear color interpolation, same as MS Office uses, if three or more stops are present.
So when you want the color interpolation to be the same in LibreOffice as in MS Office, you have to use at least three color stops in MS Office.
I have added a screenshot to the file, because MS Office does not export the two-stop-color interpolation the same way to png as it renders it.
Florian, can you please clarify: - was the file created with MS PowerPoint or LibreOffice? - are you comparing LO's PDF export with the document opened in LO? Or with the document opened in MS Office? Or with the MS Office PDF export? @Regina: I'd go with your recommendation as to how to triage this report, you know infinitely more than most on the topic. Thank you! Hi! I am converting a Powerpoint File (made with Powerpoint) to PDF with the help of Libre Office. And I am comparing MSOffice's view with the PDF. Libre Office is only used as conversion tool in this workflow :) [Automated Action] NeedInfo-To-Unconfirmed |