[Libreoffice-bugs] [Bug 121831] New: Low raster quality when saving SVG as PNG to DOC(X)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 30 19:29:14 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=121831
Bug ID: 121831
Summary: Low raster quality when saving SVG as PNG to DOC(X)
Product: LibreOffice
Version: 5.0 all versions
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: graphics stack
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: tobias.wendorff at tu-dortmund.de
Description:
When saving a Writer document containing a SVG to DOCX, it get rasterized to
PNG due to the current limits of this format. The convertion to PNG is done
using 96 ppi only and doesn't care about the SVGs dimensions (f.e. when it got
resized in LibreOffice.
So, when loading a SVG with a dimension of 30 mm × 30 mm, it gets rendered to
PNG with 96 ppi and a size of 30 mm × 30 mm. When scaling the SVG to 120 mm ×
120 mm, it also gets rendered to 30 mm × 30 mm, but scaled to 120 mm
afterwards. In "Expert Options", you can select "PixelExportResolution", but it
is ignored.
Steps to Reproduce:
1. Download a reference SVG:
https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/
2. Insert it into a Write document
3. Save it to DOCX
4. Open in Microsoft Office or unpack ZIP and find the media directory
Actual Results:
Unsharp raster image, since the dimensions and pixel resolution is too low /
fixed at a default value, which might be too low in many cases.
Expected Results:
At least it's expected to render the SVG at the target dimensions, but it's
highly recommended to set a proper resolution for high quality
export/printing/viewing to DOCX.
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
The problem occurs on all versions, which can read and display SVG files.
Ghostscript, imagemagick and pstoedit have been installed and are reachable via
path variable.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181130/a4504987/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list