https://bugs.documentfoundation.org/show_bug.cgi?id=158083

            Bug ID: 158083
           Summary: FILESAVE RTF Images are saved twice
           Product: LibreOffice
           Version: 24.2.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 113365

This is a followup to bug 104288

When a file with images is saved as RTF, the images are saved twice.

1. Open attachment 126445 from bug 101170 in Writer. It has a single image.
2. Save as RTF.
-> file size is roughly twice of the original. See: 
https://bugs.documentfoundation.org/show_bug.cgi?id=101170#c11
https://bugs.documentfoundation.org/show_bug.cgi?id=82033#c13

grepping the plain text shows what happens:

$ grep "\\pict" logo_only\(1\)*
logo_only(1).rtf:\plain\fs20\s15\tx7935\fs20\tx7935     \cf0{\*\shppict
logo_only(1).rtf:{\pict
logo_only(1)-LO242.rtf:{\pict{\*\picprop{\sp{\sn wzDescription}{\sv }}{\sp{\sn
wzName}{\sv
}}}\picscalex5\picscaley5\piccropl0\piccropr0\piccropt0\piccropb0\picw2944\pich1336\picwgoal44160\pichgoal20040\jpegblip
logo_only(1)-LO242.rtf:{\pict{\*\picprop{\sp{\sn wzDescription}{\sv }}{\sp{\sn
wzName}{\sv
}}}\picscalex5\picscaley5\piccropl0\piccropr0\piccropt0\piccropb0\picw2944\pich1336\picwgoal44160\pichgoal20040\jpegblip

two \pict sections instead of one.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a09b59cdbde2ab92bbbb6737337b74a7a62b17f1
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=113365
[Bug 113365] [META] RTF (text) image-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to