Ask Your Question
0

How could I compress images in Writer?

asked 2012-09-24 07:07:07 +0200

oardeby gravatar image oardeby
50 2 7

My wife has several Writer documents with text and images (.jpg photos) that used to be reasonable in size. After having had them edited on another computer at a workshop - I wasn't there so don't know exactly how - they are still in .odt format but two things happened: All styles were gone and the documents got about 10x larger! I found the reason for the large size to be the photos. To address this problem, a) how do I see properties for images in Writer (did they become bitmaps)? b) is there any "minimizer" function to make the photos smaller?

delete close flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
2

answered 2012-09-24 14:10:15 +0200

w_whalley gravatar image w_whalley flag of United States
1571 10 24

Documents in OpenDocument file format are stored as compressed zip archives (from LibreOffice Help). Embedded photos are stored in a Pictures directory in the zip archive. You can open the .odt file with an archive manager (you may need to rename the file.odt to file.zip to do this) and view the file sizes.

Resizing: I made a test document with a large embedded JPG image. I extracted the image from the .zip file, resized and reduced the JPG quality, replaced it in the .zip file and renamed it as .odt. The document size went from 1.4 MB to 0.11 MB.

link delete flag offensive edit

Comments

Thankyou for response. Wow, had no idea an .odt file was an archive! I named it <filename>.zip and opened it with ZipGenius. It turned out my used-to-be 300kB photos now are 2MB OLE objects - what now? Can I make them images again?

oardeby ( 2012-09-24 14:40:19 +0200 )edit

When I inserted a JPG as an OLE object I only got part of the image (bug?). The file size was inflated compared to inserting a JPG directly. I was able to right-click on the inserted OLE image and export it as JPG (I only got what was displayed). You might try that (on a copy of course).

w_whalley ( 2012-09-24 15:42:48 +0200 )edit

Thankyou for your input! I suppose we could say that the answer to the question "Is there a way to compress images in Writer" is "No, not for normal users" :-) What I will do is use "Compare document" to get new text in old documents which solves most of my problems for the time being.

oardeby ( 2012-09-30 09:58:54 +0200 )edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-09-24 07:07:07 +0200

Seen: 526 times

Last updated: Oct 01 '12