[Libreoffice-bugs] [Bug 48887] New: Export to HTML in Writer should not embed images FILESAVE

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 18 19:21:27 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48887

             Bug #: 48887
           Summary: Export to HTML in Writer should not embed images
                    FILESAVE
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5 Daily
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: bv3000 at gmail.com


Created attachment 60266
  --> https://bugs.freedesktop.org/attachment.cgi?id=60266
Example files

When you export a document that contains images to a HTML file it embeds the
images into the html. That is, it embeds the binary data.

I believe that images should instead be saved in a folder with the same name of
the document and instead be link to those files. Embedding the images into the
html file is a bad idea for two reasons:

* It results in the browser having to load a much larger file
* It actually results in an overall larger file. In the attachments. In the
attachment the 4x4px gif (39 bytes), when embedded, results in an html file
that is 86 bytes. When the image is instead link the combine file size of the
html file and gif is 61 bytes. 25 bytes is wasted, which will only grow larger
as the images used get larger

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list