Page 2 of 2

Re: [Solved] Compressing size of an odt containing large ima

Posted: Sun Feb 07, 2016 9:53 am
by Zizi64
The most of extensions you can install and use with AOO and LO.
But I can not install this extension in my LibreOffice 4.4.7. The error message is:

"Extension requires at least OpenOffice.org 4 reference version 4.0"


- OpenOffice.org???
(I can install it in my Apache OpenOffice 4.1.2)

Re: [Solved] Compressing size of an odt containing large ima

Posted: Sun Feb 07, 2016 1:48 pm
by John_Ha
Tibor

I see that PixCompress is not available on the LO Extensions site which suggests it is not compatible with LO.

But you don't need it - the function is built in to LO. See Format > Image; or r-click an image ...

Re: [Solved] Compressing size of an odt containing large ima

Posted: Sun Feb 07, 2016 1:58 pm
by Zizi64
But you don't need it - the function is built in to LO. See Format > Image; or r-click an image ...
Ohh, thak you.

Re: [Solved] Compressing size of an odt containing large ima

Posted: Mon Feb 22, 2016 2:17 am
by musikai
Here are 2 new extensions that may be useful for managing images in documents:

PicExtract
http://extensions.openoffice.org/de/node/18450
You can extract all images and change the images in your document to be linked to these extraced ones.
Process them externally as you like and after that you can re-embed them by using OpenOffice's builtin "edit"->"links"->"break link"

PicInfoFrames
http://extensions.openoffice.org/de/node/18448
Replace images with information frames showing name and filename.

Images in document will be replaced by autocreated SVG-Images of very small file size. The SVGs are only linked and placed in a subfolder called "PicInfoFrames".
The InfoFrames consists only of a frame and text in the center showing the image name (if available) and the embedded or linked filename.
You can set the width of the frame border lines and font-size of the text.

May be useful for editorial exchange purposes where you want to work with very small file size but keep the layout intact.

Cheers
Kai

Re: [Solved] Compressing size of an odt containing large ima

Posted: Mon Feb 22, 2016 2:13 pm
by acknak
musikai wrote:Here are 2 new extensions that may be useful for managing images in documents:
Very nice! Thanks for posting this.
...
Images in document will be replaced by autocreated SVG-Images of very small file size. The SVGs are only linked and placed in a subfolder called "PicInfoFrames". ...
I assume there is a way to replace the svg placeholders with the actual images again, right?

Isn't this similar/same as what happens if you use linked images and send the document to someone without the images? If the (linked) image is missing, Writer displays a red frame of the same size as the image.

Re: [Solved] Compressing size of an odt containing large ima

Posted: Mon Feb 22, 2016 3:17 pm
by John_Ha
musikai wrote:Here are 2 new extensions that may be useful for managing images in documents:
Kai

Many thanks for posting that. The extensions look really good and do exactly what people want.

Random thoughts ... it would be nice to build them as function into Writer ...

Re: [Solved] Compressing size of an odt containing large ima

Posted: Mon Feb 22, 2016 9:25 pm
by musikai
acknak wrote: Isn't this similar/same as what happens if you use linked images and send the document to someone without the images? If the (linked) image is missing, Writer displays a red frame of the same size as the image.
Yes, it is similar. This was the original reason for the InfoFrames. Someone wanted to create a PDF with frames instead of images (but like in LaTex where it shows the image filename) So that was the first idea, to simply move the folder with the images out of the way. But this of course doesn't work with embedded images. So I wrote a simple macro, that just destroys all image links, embedded as linked. The PicInfoFrames just are a nicer representation with the extra of images names and Filenames.
acknak wrote: I assume there is a way to replace the svg placeholders with the actual images again, right?
I'm afraid not. So at the moment you must save the file as a standalone version. I had a version that could restore the original images but wasn't absolut reliable or easy to handle. In fact it was a combo with the PicExtract, because if your document has embedded images and you replace them with Infoframes they are gone :-) So you must at first extract them and make them linked images to be able to restore later. But then the Infoframes would show wrong information (=embedded) where as the images now were linked. Of course you can make them show the right info but as consequence InfoFrames would only make sense on documents with linked images.
I came to a point where this simple extension had to become quite complex and difficult to explain to the user.
At the moment you can use PicInfoFrames to just create a slick document or PDF. For real document exchange with reliable restore options a separate version would need to be created.

Re: [Solved] Compressing size of an odt containing large ima

Posted: Tue Feb 23, 2016 12:50 am
by acknak
Right. Thanks!