Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Coincidentally, I was looking for something else at the weekend, and came across some notes from about 5 years ago when I got a 30MB presentation down to 6MB by doing that. Had completely forgotten about it. That was with quite an old version of OpenOffice, and I may not have inserted the files properly in the first place (not sure if I was aware of the difference between copy/pasting and insert from file myself back then!) Was going to suggest it as a workaround in case it was worth the effort to you, but looks like you've already found the same trick ;o)

It would be interesting to know what triggers the different behaviour. That some are kept as JPEG while others are converted to PNG is even more strange than if they were all converted to PNG when set as a frame's background...


Ra wrote:
Hello,

True, I don't insert the images as pictures like you would expect, but I
didn't think that would make a difference since all the images are still
coming from a local disk, so therefore LO knows the format very well and
should be able to preserve it.

Why am I using frames with images as backgrounds instead of pictures? I
don't know really. I needed an image to accompany a chunk of text, this
seemed like a good idea at the time. It's kinda too late to change it now,
there are already over a hundred such frames... I might try to change it at
some later point but for now I'd like to stick with what I have.

I did not try inserting images any other way so I don't know how it would
behave. (I also don't understand what do you mean by "extending the
palette".) I did however do a little experiment. Since ODTs are just ZIP
archives, I opened my document with an archiver tool and extracted the
contents to a temporary directory. Then I converted all the PNGs to JPGs
with the same name, updated the relevant index files accordingly
(content.xml, META-INF/manifest.xml), and archived it back as ZIP. Then I
renamed the ZIP to ODT and tried opening it in Writer, and voila, it
worked! All the images are still there and visible, I didn't see any
problems. I then saved it under a different name and checked the resulting
ODT, all the stored images were still in JPEG format. So I guess this kinda
solves my problem for now, although I would still like to know how and why
it happened to begin with. I need to do more editing on the document which
means a lot more saving, so I'll keep an eye on what LO does with these
JPEGs in the future.





On Sun, Mar 2, 2014 at 10:55 PM, Regina Henschel <rb.henschel@t-online.de>wrote:

Hi Ra,

Ra schrieb:

  I never insert images as pictures. The JPEG images are only ever used as
backgrounds for frames. I also never open the JPEGs in any picture editing
application and copypaste from there, the images are only ever used as
files from disk.

What I'm doing is precisely this:

File > Insert > Frame... > OK


Then

[right click on the frame created] > Frame... > Background > As: Graphic >
Browse... > [select the JPEG file from disk] > Type: Area > OK


I think, that is the point. You do not insert the image directly, but use
it as background image.

If you insert the image directly, it should stay in JPEG format.

Have you tried, whether other ways to make it a background (e.g. extending
the palette) results in png too?

Why do you try to make it a background of the frame?

Kind regards
Regina


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-
unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be
deleted



--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.