[Solved] Compressing size of an odt containing large images

Discuss the word processor
User avatar
Zizi64
Volunteer
Posts: 11495
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

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

Post 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)
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
John_Ha
Volunteer
Posts: 9600
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post 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 ...
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
Zizi64
Volunteer
Posts: 11495
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

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

Post 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.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
musikai
Volunteer
Posts: 294
Joined: Wed Nov 11, 2015 12:19 am

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

Post 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
Win7 Pro, Lubuntu 15.10, LO 4.4.7, OO 4.1.3
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/li ... itect.html
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

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

Post 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.
AOO4/LO5 • Linux • Fedora 23
John_Ha
Volunteer
Posts: 9600
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post 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 ...
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
musikai
Volunteer
Posts: 294
Joined: Wed Nov 11, 2015 12:19 am

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

Post 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.
Win7 Pro, Lubuntu 15.10, LO 4.4.7, OO 4.1.3
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/li ... itect.html
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

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

Post by acknak »

Right. Thanks!
AOO4/LO5 • Linux • Fedora 23
Post Reply