Discussion:
[Libreoffice-bugs] [Bug 114705] New: Images distorted after export to PDF from Writer with enabled JPG-compression if OpenGL ist active
b***@bugs.documentfoundation.org
2017-12-26 22:09:11 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

Bug ID: 114705
Summary: Images distorted after export to PDF from Writer with
enabled JPG-compression if OpenGL ist active
Product: LibreOffice
Version: 5.4.4.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Printing and PDF export
Assignee: libreoffice-***@lists.freedesktop.org
Reporter: ***@gmx.de

Description:
If I export a writer document with embedded images to a pdf, some of them get
distorted using the standard-export-settings. If I deactivate the
jpg-compression inside the export dialog, the images get not distorted. The
same happens if I let the jpg-compression activated but deactivate OpenGL. The
bug was adressed in further versions and was announced to be fixed
(https://www.bitblokes.de/libreoffice-5-1-rc1-ist-verfuegbar-kuemmert-sich-um-schusterjungen-und-hurenkinder/,
" Weiterhin sollen Bilder bei einem PDF-Export nicht mehr verzerrt werden, wenn
OpenGL aktiviert ist"), but it seems like it still exists in 5.3.7 and 5.4.4.

Steps to Reproduce:
1. Create a writer document with embedded images
2. Export to pdf with standard settings
3. Export to pdf with deactivated OpenGL or without jpeg-compresion

Actual Results:
It seems like not all images get distorted, at the moment I don't know why some
are and some not. But I seems that bigger images are affected.

Expected Results:
Images should be not distorted


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101
Firefox/57.0
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 14:33:14 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

Telesto <***@surfxs.nl> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@surfxs.nl

--- Comment #1 from Telesto <***@surfxs.nl> ---
A sample document would be really, really nice :-). Especially if some image
are affected, and not all of them.. Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 18:14:52 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

--- Comment #2 from ***@gmx.de ---
Created attachment 138687
--> https://bugs.documentfoundation.org/attachment.cgi?id=138687&action=edit
Image with OpenGL activated
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 18:16:07 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

--- Comment #3 from ***@gmx.de ---
Created attachment 138688
--> https://bugs.documentfoundation.org/attachment.cgi?id=138688&action=edit
Image with OpenGL deactivated of jpg-compression deactivated (or both)
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 18:16:59 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

--- Comment #4 from ***@gmx.de ---
Hello,

here are some screenshots, a sample document will follow.

Best regards!
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 18:25:55 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

--- Comment #5 from ***@gmx.de ---
Created attachment 138689
--> https://bugs.documentfoundation.org/attachment.cgi?id=138689&action=edit
Sample Document which shows the described behaviour
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 18:27:15 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

--- Comment #6 from ***@gmx.de ---
Created attachment 138690
--> https://bugs.documentfoundation.org/attachment.cgi?id=138690&action=edit
PDF-Output whith jpg-compression and activated OpenGL
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 18:29:00 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

--- Comment #7 from ***@gmx.de ---
Created attachment 138691
--> https://bugs.documentfoundation.org/attachment.cgi?id=138691&action=edit
PDF-Output with deactivated jpeg-compression

You get the same result with activated jpg-compression and deactivated OpenGl.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 18:30:45 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

--- Comment #8 from ***@gmx.de ---
Okay, I hope the attachments can help the reproduce the behaviour. Thanks for
helping and best regards!
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 19:05:25 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

--- Comment #9 from Telesto <***@surfxs.nl> ---
Repro with
Version: 6.1.0.0.alpha0+
Build ID: a9b202a6b7000e7af34f2a639ca207122a3968bf
CPU threads: 4; OS: Windows 6.3; UI render: GL;
TinderBox: Win-***@42, Branch:master, Time: 2017-12-26_23:10:23
Locale: nl-NL (nl_NL); Calc: CL

and with:
Version: 5.2.5.0.0+
Build ID: a4d4fbeb623013f6377b30711ceedb38ea4b49f8
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL;
TinderBox: Win-***@62-merge-TDF, Branch:libreoffice-5-2, Time:
2016-12-24_14:43:55
Locale: nl-NL (nl_NL); Calc: CL

but not with:
Versie: 5.1.6.2
Build ID: 07ac168c60a517dba0f0d7bc7540f5afa45f0909
CPU Threads: 4; Versie besturingssysteem:Windows 6.2; UI Render: GL;
Locale: nl-NL (nl_NL); Calc: CL
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 19:20:18 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

--- Comment #10 from Telesto <***@surfxs.nl> ---
Created attachment 138695
--> https://bugs.documentfoundation.org/attachment.cgi?id=138695&action=edit
Bibisect log

Bisected to:

author TomaÅŸ Vajngerl <***@collabora.co.uk> 2016-11-03 23:05:25
+0100
committer Michael Meeks <***@collabora.com> 2016-11-11
11:06:54 +0000
commit d05b11e5f590272b0036cf09cf8721c37db33791 (patch)
tree 8da16be50adaf18936699c8e6653324169569156
parent 74eebc7a0768659426911541e16973bdf037c157 (diff)
tdf#103803 change from BGRA to RGBA color arrangement on Windows
BGRA is native color arrangement on Windows however some intel
drivers have problems with large textures if they read from a
BGRA buffer. So with this commit we switch to RGBA color
arrangement. This shouldn't cause much performance differences,
but we need to convert from RGBA to BGRA when printing.

+ fix: wrong GL format for RGBA image buffers
commit: ed42212f53b2e52238346e64dae31a931d6c90a1
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2017-12-27 19:22:01 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

Telesto <***@surfxs.nl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |bibisected, bisected,
| |regression
Status|UNCONFIRMED |NEW
CC| |***@gmail.com
Version|5.4.4.2 release |5.2.0.4 release
Ever confirmed|0 |1

--- Comment #11 from Telesto <***@surfxs.nl> ---
Adding CC to: TomaÅŸ Vajngerl
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-09 19:54:23 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=114705

Roman Kuznetsov <***@mail.ru> changed:

What |Removed |Added
----------------------------------------------------------------------------
Blocks| |103378, 93529


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=93529
[Bug 93529] [META] VCL/OpenGL rendering tracker bug for 5.0+
https://bugs.documentfoundation.org/show_bug.cgi?id=103378
[Bug 103378] [META] PDF export bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...