Created attachment 121486 [details] odt source document PNG images are corrupted when exported to a PDF document. This did not happen with version 5.04.
Created attachment 121487 [details] pdf output
But, if the png is compressed before exporting as pdf, it is exported correctly.
Unconfirmed with v5.0.4.2 under ubuntu 15.10 x64. Confirmed with v5.1.0.1 under ubuntu 15.10 x64.
This seems to have begun at the below commit. Adding Cc: to Tomaž Vajngerl ; Could you possibly take a look at this one? Thanks 972022c62c591c20afa2da76184b8224ca9ee597 is the first bad commit commit 972022c62c591c20afa2da76184b8224ca9ee597 Author: Norbert Thiebaud <nthiebaud@gmail.com> Date: Wed Dec 9 01:46:14 2015 -0800 source 82e0c38e1205a3c8a70234a95ca33ab1400fbe57 source 82e0c38e1205a3c8a70234a95ca33ab1400fbe57 author Tomaž Vajngerl <tomaz.vajngerl@collabora.com> 2015-12-04 17:19:08 (GMT) committer Tomaž Vajngerl <tomaz.vajngerl@collabora.com> 2015-12-04 17:23:50 (GMT) commit 82e0c38e1205a3c8a70234a95ca33ab1400fbe57 (patch) tdf#94739 use GetScanlineSize instead of calculating it
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=384c815eda697d75706f686dc2ceb227b4d3f245 Resolves: tdf#96653 distorted images on export to pdf It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 97518 has been marked as a duplicate of this bug. ***
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fdf698bef5bf25c2a10e2b8ddb1955143cd3f227&h=libreoffice-5-1 Resolves: tdf#96653 distorted images on export to pdf It will be available in 5.1.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7f99fdda739e041bc5438001bb57460e41d0f7ad&h=libreoffice-5-0 Resolves: tdf#96653 distorted images on export to pdf It will be available in 5.0.6. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-0-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=66c3261ed55735fd6ab927c310e214f43b1f5922&h=libreoffice-5-0-5 Resolves: tdf#96653 distorted images on export to pdf It will be available in 5.0.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Still present in LO 5.1.0.3 (linux 64bit)
Created attachment 122514 [details] diagonal lines appearing over images
(In reply to David from comment #10) > Still present in LO 5.1.0.3 (linux 64bit) That is indeed expected David, since target is set to 5.1.1 (and others). Fix was too late apparently for the 5.1.0.3
Issue resolved for me with LO Draw 5.0.6.0 linux 64bit daily. Thanks
Issue resolved for me with LO Draw 5.1.1.0 linux 64bit daily. Much appreciated! Thanks
Thanks a lot for verifying David!
*** Bug 97777 has been marked as a duplicate of this bug. ***
*** Bug 97758 has been marked as a duplicate of this bug. ***
*** Bug 97770 has been marked as a duplicate of this bug. ***
*** Bug 97929 has been marked as a duplicate of this bug. ***
*** Bug 98049 has been marked as a duplicate of this bug. ***
*** Bug 98080 has been marked as a duplicate of this bug. ***
*** Bug 98280 has been marked as a duplicate of this bug. ***
*** Bug 98328 has been marked as a duplicate of this bug. ***
*** Bug 98329 has been marked as a duplicate of this bug. ***
*** Bug 98450 has been marked as a duplicate of this bug. ***
*** Bug 97940 has been marked as a duplicate of this bug. ***
Issue corrected in LO 5.1.1 from bug 98329 - images print and export to pdf Thank You for your assistance.
Win 7 64 bit, LO Version: 5.1.1.3 (x64) Build-ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d CPU-Threats: 4; BS-Version: Windows 6.1; UI-Render: Standard; Gebietsschema: de-DE (de_DE) Everything works fine now. Thank you for your efforts.
*** Bug 99168 has been marked as a duplicate of this bug. ***
*** Bug 99177 has been marked as a duplicate of this bug. ***
On my png and on the corrupted jpgs there are also diagonal lines. Schubert
*** Bug 99254 has been marked as a duplicate of this bug. ***
This issue still persists on LibreOffice 6.0.0.1 upto at least 6.0.2.1 (applied for JPG files). I use Linux Mint 18.3. Additional info: Version: 6.0.2.1 Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89 CPU threads: 4; OS: Linux 4.14; UI render: default; VCL: x11; Locale: en-US (en_US.UTF-8); Calc: CL I tried disable/enable OpenCL, the result was still the same. Sample file: http://i.imgur.com/txYK036.png Sample output: http://i.imgur.com/a6zjDpo.png (opened with Foxit Reader on Linux)
(In reply to dxt.tfg from comment #34) > This issue still persists on LibreOffice 6.0.0.1 upto at least 6.0.2.1 > (applied for JPG files). I use Linux Mint 18.3. > > Additional info: > Version: 6.0.2.1 > Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89 > CPU threads: 4; OS: Linux 4.14; UI render: default; VCL: x11; > Locale: en-US (en_US.UTF-8); Calc: CL > > I tried disable/enable OpenCL, the result was still the same. OpenCL has nothing to do with image export. Issue was OpenGL related export. > > Sample file: http://i.imgur.com/txYK036.png > Sample output: http://i.imgur.com/a6zjDpo.png (opened with Foxit Reader on > Linux) These are of no use. We'd need the ODF writer document or the PNG/JPEG image that is not being picked up for export. Please open a new Bugzilla issue and fully explain the issue with Steps to Reproduce and sample documents. This is => FIXED