I have a drawing that has graphics up to the edge of the default margin. Exporting to PNG cuts a little bit off the sides and bottom. Exporting to BMP, however, preserves the integrity of the full page.
Is there any way to export so that this doesn't happen?
Edit: Thanks everyone for such timely support!
[Issue] [Solved] Exporting to PNG cuts off edges of drawing
-
- Posts: 4
- Joined: Mon Feb 04, 2019 7:53 pm
[Issue] [Solved] Exporting to PNG cuts off edges of drawing
Last edited by robleyd on Wed Feb 06, 2019 11:08 am, edited 3 times in total.
Reason: Tagged as Issue
Reason: Tagged as Issue
Apache OpenOffice 4.1.5 on Windows 7
Re: Exporting to PNG cuts off edges of drawing
Can you upload or share a sample file here? The file size limit is 128 KiB for the upload. You can share the larger files in a free file sharing service like the Google drive.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Exporting to PNG cuts off edges of drawing
Open the BMP with an image editor and save it as a PNG.
Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
-
- Posts: 4
- Joined: Mon Feb 04, 2019 7:53 pm
Re: Exporting to PNG cuts off edges of drawing
John_Ha, that is a good workaround, thank you.
I have done that to upload the exported bmp sample file as a png here, along with a png and the odg. Notice how the smiley faces to the bottom and right are cut off.
I have done that to upload the exported bmp sample file as a png here, along with a png and the odg. Notice how the smiley faces to the bottom and right are cut off.
- Attachments
-
- sample.odg
- (11.12 KiB) Downloaded 275 times
Apache OpenOffice 4.1.5 on Windows 7
Re: Exporting to PNG cuts off edges of drawing
This is something to do with improper handling of the margins. Set your page format to have 0 margins all around, tell OO when it complains that you want the margins set thus, and then export. I think you will find all well.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 4
- Joined: Mon Feb 04, 2019 7:53 pm
Re: Exporting to PNG cuts off edges of drawing
Thank you very very much! That did it. I also found through experimenting that if I uncheck "Save Transparency", the PNG exports without the cut-off issue (but then it doesn't have transparency)RoryOF wrote:This is something to do with improper handling of the margins. Set your page format to have 0 margins all around, tell OO when it complains that you want the margins set thus, and then export. I think you will find all well.
Apache OpenOffice 4.1.5 on Windows 7