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

--- Comment #6 from Luis Menina <liberfo...@freeside.fr> ---
I read the linuxfr journal too. I tried to reproduce that bug too. There are
two different bugs here.

· the PNG corruption
· the way the PNG is displayed (all black)

Let's focus in this bug on the PNG corruption. Another bug should be open for
the display problem to check why lodraw was more resilient on bad files and
allowed to display correctly a corrupted file.

Now for the PNG corruption, that bug is very old. To be precise, I'm able to
reproduce the corruption in LibreOffice 4.2.8.2 on Ubuntu 14.04, so it may be
even older. That means that the impact will need to be checked as there may be
a good amount of documents created with LibreOffice version that corrupted the
files. As Julien stated, the problem is that the PNG is truncated from 380 to
368 bytes when the document is saved.

@Julien: please don't use the initial ODG document as it contains a lot of
images which will only add noise to your investigation. To reproduce the bug
just:

1. Download the attached bird.png file (380 bytes)
2. Create a new ODG document
3. Insert bird.png in the document (Insert → Image → From file)
4. Save the document
5. Open the document with a zip-handling program like file-roller

Expected result:
The PNG file in the Pictures directory should be 380 bytes long

Actual result:
The PNG file in the Pictures directory is truncated to 368 bytes

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

Reply via email to