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 <firstname.lastname@example.org>wrote:
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
[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?
To unsubscribe e-mail to: email@example.com
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
Impressum (Legal Info)
: 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