Description: SVG images look extremely bad after DOCX export or compress Steps to Reproduce: 1. Open the attached file 2. Save to DOCX 3. File reload Actual Results: Fuzzy unreadable image Expected Results: Something more crisp an clear Reproducible: Always User Profile Reset: No Additional Info: Found in Version: 7.2.0.0.alpha0+ (x64) Build ID: 32fdb8eb3506bc8dcf013cc713fe8e5debceb940 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL and in Versie: 4.1.0.4 Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28 a lot better in Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89) -> There still room to argue 4.0 still producing sub optimal results (see bug 51510). However this would as this point be an real improvement of the current situation
Created attachment 167817 [details] Example file
Created attachment 167819 [details] Bibisect log Bisected to: author Armin Le Grand <alg@apache.org> 2012-05-30 13:44:19 +0000 committer Caolán McNamara <caolanm@redhat.com> 2013-03-16 01:57:53 +0000 commit a1a0830d1ac3ffabbe35bd8a0264b64f1f7a9d67 (patch) tree 7425273b6d0195397dfe635810bd48063c0d9054 parent e8620b247dcba55f67ad7eaf63cfe5ac3831b187 (diff) Resolves: #i119601# support for transparency in PNG export dialog Added support for transparency in PNG export dialog and support for alpha channnel Conflicts: svtools/source/filter/exportdialog.cxx Change-Id: I324bfd6a34803478bf17f113e015620056c90567 https://cgit.freedesktop.org/libreoffice/core/commit/?id=a1a0830d1ac3ffabbe35bd8a0264b64f1f7a9d67
Reproduced in Version: 7.2.0.0.alpha0+ Build ID: 84af20ef3ea72190784e9e7be820684c2558ba8c CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
@Luboš Luňák Not your bug and has formally no priority. However this bug simply bad. See bug 51510 and list of see also. Note quite a number of those 'see also' reports by me (for a more realistic view) There goes something horribly wrong at image format conversion. Used for image compress, image export, or DOCX (for file formats not supported by DOCX format, say SVG (take QR ) or embedded PDF. Sometimes it looks like compress compressing a the actual screen image painted on screen or some weird thumbnail kind of thing. Or using some kind of StarView media file as intermediary (EMF to JPG example: bug 140918) Results surely bad. So Skia being fast, and has proper scaling and such, but still having to cope with ugly images in quite a number of cases. So would really grateful if you could find some time to take a look (or find a reason to take a look :P).
Adding CC to Armin Le Grand
This annoying bug is still there with LibreOffice 7.5.0.3. To reproduce, open the attached file test-equation.odt and save it as .docx, then open it with LO and see that the SVG graphic is badly blurred. The bad rendering is the same (or worse) in MS Word 2016 as you can see on the screenshot. So exchanging technical documents that contain SVG graphics with colleagues that work with MS Office is rather problematic.
Created attachment 185320 [details] Example document with an SVG graphic (simple equation)
Created attachment 185321 [details] SVG graphic example (simple equation)
Created attachment 185322 [details] Rendering in MS Word 2016 (screenshot)
I don't really see a need for lots of "SVG is terrible" bug reports. Mark as duplicate. *** This bug has been marked as a duplicate of bug 51510 ***