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

            Bug ID: 115471
           Summary: PNG corrupted after saving
           Product: LibreOffice
           Version: 6.1.0.0.alpha0+ Master
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Description:
On pc Debian x86-64 with master sources updated yesterday, I got a png
corrupted after having removed a slide and save.

Steps to Reproduce:
1. Retrieve http://www.spaceeman.be/ftl/ftl-bases.odg (11MB)

2. copy with a renaming of odg in zip. Unzip the zip file and see the size of
100000000000002800000031FB2A5F08.png in Pictures, you'll get 380
here's the end of file with hexdump -C
00000160  ff ff 00 fc ff ff ff ff  e3 9b ac 48 22 e2 d2 b0  |...........H"...|
00000170  00 00 00 00 49 45 4e 44  ae 42 60 82              |....IEND.B`.|

2. Open the odg file
3. Remove the last slide (24th)
4. Save
5. Copy/rename the saved file to a zip file.
6. unzip the zip file
and see the size of 100000000000002800000031FB2A5F08.png in Pictures, you'll
get 368
and here's the end this time:
00000160  ff ff 00 fc ff ff ff ff  e3 9b ac 48 22 e2 d2 b0  |...........H"...|
00000170

For those who read French, see
http://linuxfr.org/users/space_e_man/journaux/libreoffice-alteration-d-images-integrees

Actual Results:  
See steps to reproduce because the actual results must be considered at
different steps

Expected Results:
No corruption of the file.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to