When I tried to insert a certain jpg image to a LireOffice document (Writer, Calc and Impress) and then chose export to PDF, the image was distorted. When opening the exported PDF file with Foxit reader, the image was cut off and the color was filled with diagonal grey lines. In some other PDF readers, the image was just a box.
The weird thing is other jpg files were exported correctly, or when the problematic jpg file was converted to png.
This happened on both Linux and Windows, tested with LibreOffice 5.4+ (upto the latest 5.4.2) and 6.0+ (upto the latest 220.127.116.11)
Steps to Reproduce:
1.Open a document in any LibreOffice application (Writer, Calc, Impress)
2.Insert a certain JPG file
3.Choose export to PDF
The image in the exported PDF file was not displayed/rendered correctly. When Trying with Other JPG images or converting the problematic JPG file to PNG, everything works file.
The image in the exported PDF is rendered correctly
User Profile Reset: No
OpenGL enabled: Yes
Disabling/Enabling OpenGL and/or OpenCL had no effect
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.8.3
Created attachment 141135 [details]
The problematic JPG image
This is a duplicate of bug 102928, please see that bug report for details.
*** This bug has been marked as a duplicate of bug 102928 ***