Download it now!
Bug 101170 - FILESAVE: Opening and saving an rtf with an embedded jpeg leads to massive file size increase
Summary: FILESAVE: Opening and saving an rtf with an embedded jpeg leads to massive fi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2016-07-28 11:03 UTC by philipp.schaefer
Modified: 2019-11-26 13:51 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
RTF-file with embedded jpeg (453.23 KB, application/msword)
2016-07-28 11:03 UTC, philipp.schaefer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description philipp.schaefer 2016-07-28 11:03:37 UTC
Created attachment 126445 [details]
RTF-file with embedded jpeg

Opening the attached file 'logo_only.rtf' and saving it again as an RTF-file lets the filesize explode from 454kB to almost 95MB.
Comment 1 Aron Budea 2016-07-29 05:55:48 UTC
Reproduced in LibreOffice 5.2.0.3 & 4.0.0.3/Windows 7. (opening original RTF in 3.6.0.4 doesn't display logo)

The RTF jpegblip in the 93MB file mostly consists of FFFFFFFF..

Intersting observation:
Resizing JPEG in the document with mouse produces weird results. If I try to increase horizontal size to the left a bit, size increases to the right instead. If I increase it a lot to the left, the logo moves.
Comment 2 QA Administrators 2018-07-19 02:41:53 UTC Comment hidden (obsolete)
Comment 3 BS Dev-Team 2018-07-19 08:03:44 UTC
Tested in LibreOffice 5.4.7 & 6.0.5/Windows 10.
File size still increases (500kB to 1MB).
Comment 4 BS Dev-Team 2018-11-06 08:29:24 UTC
Tested in LibreOffice 6.1.2.1/Windows 10.
File size still increases (500kB to 95MB).
Comment 5 Xisco Faulí 2018-11-12 15:37:32 UTC
Still reproducible in

Version: 6.2.0.0.alpha1+
Build ID: 3a99ae072ac170ebed8d1f5bf65913d3412fab67
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 QA Administrators 2019-11-14 03:43:16 UTC Comment hidden (obsolete)
Comment 7 BS Dev-Team 2019-11-26 13:51:37 UTC
Reproduced in LibreOffice 6.3.3.2
File size still increases (454kB to 94,801kB).

Version: 6.3.3.2 (x64)
Build-ID: a64200df03143b798afd1ec74a12ab50359878ed
CPU-Threads: 8; BS: Windows 10.0; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: CL