[Libreoffice-bugs] [Bug 134904] New: FILEOPEN: DOCX: Image color reproduction not correct in GUI and PDF output

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 17 14:10:58 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134904

            Bug ID: 134904
           Summary: FILEOPEN: DOCX: Image color reproduction not correct
                    in GUI and PDF output
           Product: LibreOffice
           Version: 6.3.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rominator at gmx.at

Created attachment 163190
  --> https://bugs.documentfoundation.org/attachment.cgi?id=163190&action=edit
sample files

I have dragged and dropped a test image
(https://commons.wikimedia.org/wiki/File:FuBK_wide.jpg) into a DOCX in MS Word
365.
I also converted the JPG to PNG using gimp and dragged that in the document
too.

By dragging and dropping the images get a little edited by Word (can be seen by
unpacking the DOCX-file) which is not ideal but cannot be circumvented.

With the JPG everything is fine. So the focus here is the PNG.

When I open the resulting document in writer and Word side by side and make a
screenshot there are measurable color reproduction differences.

This can be best seen in the orange/brown part at the right side of the image.
In the original image this part has an RGB value of 178,127,0 (measured in MS
paint with the Color picker).
When taking a screenshot of MS Word the color is the same 178,127,0
When taking a screenshot of writer the color is 182,133,0

This has in my opinion not something to do with compression artifacts.

I have set the severity to major since correct color reproduction is a
must-have for several professional/commercial use cases.
I do not know if that is an issue when using the native ODT format or when
dragging/dropping images directly into writer or if this is a DOCX issue. That
would have to be checked too!

Going further if you convert the DOCX to PDF (Export as PDF) and create PNGs
out of the PDFs the issue is there too. So this is not only a UI thing but a
color reproduction issue for printed output and PDF as well.

I have seen the same happening with BMP, TIF, other JPGs and EMF.

I attached the sample DOCX along with the input images, output PDFs of writer
(Export as PDF) and Word (Printed over a GhostScript printer) and converted
PNGs of the PDF pages.

Expectation: The color of a PNG stays the same when opening/importing the DOCX
and processing the document to PDF/print.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200717/e694e7a2/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list