Bug 80362

Summary: FILESAVE: PNG export with transparency enabled makes non-transparent parts transparent
Product: LibreOffice Reporter: Firas Hanife <FirasHanife>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: major CC: philipz85, vsfoote
Priority: medium    
Version: 4.1.6.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=63334
https://bugs.freedesktop.org/show_bug.cgi?id=50814
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Test file - PNGExportCrop.odg
how the exported png looks with and without transparency enabled

Description Firas Hanife 2014-06-22 19:34:47 UTC
Created attachment 101533 [details]
Test file - PNGExportCrop.odg

- General description:
PNG images exported with transparency enabled are cropped. The same image without transparency enabled is exported fine.


- Steps to reproduce:
1) Open the attached document "PNGExportCrop.odg"(it is simply a .odg with an image)
2) Go to: File > Export
3) From the window "Export" select PNG format, the click on Save
4) From the window "PNG Option" make sure "Save transparency" is enabled, then click OK
5) Open the exported png image

The .png is partially cropped.
Exporting with "Save transparency" disabled works fine.

- Issue present on:
   4.1.6.2
   4.2.5.2
   4.3.0.1

- System:
openSUSE 13.1 (x86_64)
Comment 1 Yousuf Philips (jay) (retired) 2014-06-22 19:47:33 UTC
Effects 4.1 and above, as pre-4.1 there isnt an option to 'save transparency'.
Comment 2 Yousuf Philips (jay) (retired) 2014-06-22 19:49:43 UTC
Created attachment 101534 [details]
how the exported png looks with and without transparency enabled
Comment 3 Marina Latini (SUSE) 2014-07-07 15:19:37 UTC
Confirmed on:

* Version: 4.3.0.2
* Build ID: 14ed55896fdfcb93ff437b85c4f3e1923d2b1409
* OS: Ubuntu 14.04 x86_64
Comment 4 ign_christian 2014-07-22 14:58:05 UTC
Perhaps regression from Bug 50814
Comment 5 V Stuart Foote 2014-11-29 22:23:09 UTC

*** This bug has been marked as a duplicate of bug 37682 ***