<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add ability to automatically compress and resize images"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=34133#c62">Comment # 62</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add ability to automatically compress and resize images"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=34133">bug 34133</a>
              from <span class="vcard"><a class="email" href="mailto:philipz85@hotmail.com" title="Yousuf Philips (jay) <philipz85@hotmail.com>"> <span class="fn">Yousuf Philips (jay)</span></a>
</span></b>
        <pre>(In reply to Joey Reid from <a href="show_bug.cgi?id=34133#c60">comment #60</a>)
<span class="quote">> Again, maybe I'm not being clear. What is the advantage to compressing and
> resizing at insert time, rather they save time? </span >

Advantages:
1) User have the ability to disable the compression at insert time (users arent
prompted everytime time they press Ctrl+S or click the save button in the
toolbar)
2) Smaller inserted images saves memory and also results in a more responsive
UI (the UI becomes very sluggish when large images are present in a document -
e.g <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Editing very slow with big picture on page"
   href="show_bug.cgi?id=78529">bug 78529</a>)

<span class="quote">> For example, let’s say my
> system is set to 96 dpi. I create a new document without thinking about
> this. Insert time change, will not be recoverable. I will have to start from
> scratch. However, if this is handled at save time, I can change the document
> settings and no data will be lost as long a I remember before saving.</span >

As the optimization happens once the image is inserted, you should notice that
the image doesnt look as shape as you remember it to be. Also you still have
the image you inserted, so you can always replace the inserted image with the
original image and then disable compression. As mentioned above, users dont
encounter a dialog when they save, unless its a new document, so users would
never see the option to enable/disable compression at save time.

(In reply to Thomas Lendo from <a href="show_bug.cgi?id=34133#c61">comment #61</a>)
<span class="quote">> Maybe the user wants to edit the image after inserting (and before saving)
> and the compression and other "optimizations" limit further actions on the
> image due to low resolution, etc.</span >

LibreOffice doesnt have any image editing capabilities, so i'm not sure what is
being said here. The only available functions that alters the pixels in an
image are the image filter functions and with optimizations only happening with
large images, no low resolutions images will be produced by the optimization
routine.</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>