Abnormal file size increase when working with Libre Office Writer 7.1.5 on Linux Mint Uma. Initially I have a 4mb * .docx file and when adding a comment and saving the changes the file increases the file to 19 mb. I did this test with another 8 mb file and after text editing changes, without adding images, it took it to 42 mb. Given this problem, I had to resort to WPS and it reduced the document to its original size.
This report has no value without sample document and precise steps.
You can also test LO master 7.3+, easiest from http://libreoffice.soluzioniopen.com/index.php/daily-version/.
Created attachment 174543 [details]
Comprimido con documento sin modificar y modificado
Attached unmodified document (646.5 kB) and another modified (3.6 mB).
When I opened the original document I only made the comment that says TEST SIZE. I saved and closed the document. What used to weigh 646 kb is now 3.6 mb. View attachments.
Among the many tests I did, I think the problem may be with the compression of the images since when I went one by one reducing the dpi, the document reduced its size.
[Automated Action] NeedInfo-To-Unconfirmed
Repro LO 3.3 and 7.3+.
JPEG image of 671 kB is saved as large PNG of 3.780 kB.
Original DOCX is WPS, but it shouldn't be a problem. MSO saves it properly and LO increases also MSO saved DOCX.
(In reply to Timur from comment #4)
> Repro LO 3.3 and 7.3+.
> JPEG image of 671 kB is saved as large PNG of 3.780 kB.
> Original DOCX is WPS, but it shouldn't be a problem. MSO saves it properly
> and LO increases also MSO saved DOCX.
And is there no way to configure the compression level of the document images in the LO options? That is, it works with JPG and not with large PNG? The problem is that this is not a document that I am doing from the beginning, but an article that was sent to me for review and logically I am not going to be editing the document for someone else. Thanks for the reply.
This JPEG image is not regular, as can be seen in IrfanView that shows no DPI.
LO should resolve that like MSO but it doesn't, as reported in bug 52598, bug 96178 etc.
Real puzzle is why it converts to PNG.
I'm afraid this won't be resolved soon.
Workaround is to fix image's DPI outside, like in IrfanView or with Exif Pilot.
LO has compression but it also has bug 83734, bug 132657 etc.
(In reply to Timur from comment #6)
> Real puzzle is why it converts to PNG.
The image filetype gets imported in LibreOffice as "unknown' (see compress dialog). Not sure if 'jpeg' being regarded as an unsupported extension?
Unknown format will trigger a conversion.
*** This bug has been marked as a duplicate of bug 138981 ***