[Libreoffice-bugs] [Bug 127851] New: Unnecessarily big replacement image for embedded PDF

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 28 22:59:12 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=127851

            Bug ID: 127851
           Summary: Unnecessarily big replacement image for embedded PDF
           Product: LibreOffice
           Version: 6.3.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: gellert.gyuris at gmail.com

Description:
In case of an SVG file with big canvas: When I insert an SVG file (as image),
LO creates a replacement PNG. It's OK. But when I export this SVG to PDF and
insert that PDF as images, replacement file size (dpi) is unnecessarily big.

Steps to Reproduce:
1. Open /extras/source/gallery/symbols/Gift.svg file with an SVG editor and
resize it to 100 cm × 100 cm. Save as plain SVG and export it to PDF too. (See
attached examples).
2. Create a new LO document and insert SVG and PDF files as images.
3. See replacement PNG files in /Pitcures

Actual Results:
Size of SVG replacement PNG image is: 707×707 px. (51 kB)
Size of PDF replacement PNG image is: 3779×3779 px. (338 kB)

Expected Results:
Size of PDF replacement file should be the same size.


Reproducible: Always


User Profile Reset: No



Additional Info:
When I insert original sized SVG (100×100px) and PDF this size difference isn't
noticeable.

-- 
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/20190928/08fa6c6f/attachment.html>


More information about the Libreoffice-bugs mailing list