<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Add ability to keep vector image and compress replacement image in image compression dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=127854#c19">Comment # 19</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Add ability to keep vector image and compress replacement image in image compression dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=127854">bug 127854</a>
              from <span class="vcard"><a class="email" href="mailto:gellert.gyuris@gmail.com" title="Gellért Gyuris <gellert.gyuris@gmail.com>"> <span class="fn">Gellért Gyuris</span></a>
</span></b>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=160735" name="attach_160735" title="New sample">attachment 160735</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=160735&action=edit" title="New sample">[details]</a></span>
New sample

Cor Nouws, I'm trying to explain again, but I'm afraid that I'm just repeating
myself. I hope I can answer your question: I want to avoid big and unnecessary
PNG replacement images for embedded vector images. 

See attached sample: There is a document with 9 embedded roll-ups (with 85 cm ×
200 cm). LibreOffice normally generates a replacement PNG for every embedded
vector image. In these examples:
- for 55 kB SVGs LO generates 2,5 MB PNGs, or
- for 2,1 MB PDFs LO generates 21,1 MB PNGs.

There are an expert switch (org.openOffce.Office.Common > Save > Grapchics >
AddReplacementImages: false) to completely exclude generating these replacement
images, but this is a hidden feature and a global switch, not a per document or
per image switch. 

I found that image compressing feature would be the best solution:
- I think, the current behavior isn't the best: replace vector file with a
bitmap and compress the bitmap...
- This feature would be better if preserves the original vector and compress
the replacement images. This is a feature request.
- Or with an option we can preserve both behavior as I suggested above.

Maybe this isn't a good idea. I'm just a user, not a developer. Maybe someone
has a better idea. Do you know a better solution how to prevent huge
replacement files from being created?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>