Open stefan0xC opened 2 years ago
Hello, @stefan0xC. Thank you for the report. I can confirm - this is a bug, issue 54918 in our private issue tracker.
Moving this issue to DocumentServer repo, since it's our base product and problem actual there too
This issue is unique.
Operating System
Linux (DEB package)
Version information
6.4.2.6
Expected Behavior
When you save a document as PDF images should be rendered without issues.
Actual Behavior
When the document is saved as PDF the embedded JPEG image (in CMYK colorspace) will be colorless and distorted. See Document1.pdf for an example.
Reproduction Steps
You can reproduce the issue with the attached Document1.docx and saving the document as PDF.
Additional information
The same behavior can be observed in the online version of OnlyOffice (6.4.2). The issue is not present with every JPEG image but as far as I have tested it only where colorspace has been changed to CMYK (e.g. with the GRACoL_TR006_coated.icc or SNAP_TR002_newsprint.icc). To recreate the issue I've exported a JPEG image in GIMP and applied the ICC profile with ImageMagick's
convert
.