Bug 155281 - export as a PNG file with selections
Summary: export as a PNG file with selections
Status: RESOLVED DUPLICATE of bug 154168
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-13 15:49 UTC by KC
Modified: 2023-05-14 11:57 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KC 2023-05-13 15:49:54 UTC
Description:
Tried to export selected cells in an .xlsx file as a PNG file and it generated a .png file with no contents (file size 0). It worked fine if exporting them as a .jpg file.

Steps to Reproduce:
1.Open an .xlsx file with contents.
2.Select cells to export.
3.Menu->File->Export->Save as type: PNG

Actual Results:
A PNG file with zero size and no contents.

Expected Results:
A PNG file with selected contents. 


Reproducible: Always


User Profile Reset: No

Additional Info:
It works fine if exporting as a .jpg file.
Comment 1 Stéphane Guillou (stragu) 2023-05-13 22:02:38 UTC
Thank you for the report, KC.
Can you please confirm that the issue only happens when "Save transparency" is off, and that turning it on outputs a correct PNG?
In which case this would be a duplicate of bug 154168.
Comment 2 KC 2023-05-14 11:55:28 UTC
Affirmative. When "Save transparency" is checked, the PNG file is correct. Thank you.
Comment 3 KC 2023-05-14 11:57:17 UTC

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