Exporting to cropped png image with transparent background in LibreOffice 5 Draw
Problem
I wanted to export a figure drawn with LibreOffice Draw to png file. The two requirements below were my consideration.
- The exported image should have transparent background.
- The whitespace of page should be cropped out. Namely, the exported image should fit to the figure it contains.
Solution
Following instructions will lead you to export a right image.
- Check
Tools > Options > LibreOffice > General > Open/Save Dialogs > Use LibreOffice dialogs
. - Select all your image. You can use shourtcut,
Ctrl+a
. File > Export
will show you a dialog in which you can checkSelection
.- Enter file name, select format as PNG, check
Selection
and clickExport...
. PNG Options
dialog will be displayed. CheckSave transparency
for transparent background.
After clicking OK
, you will get a png file as you want.