Page 1 of 1

[Issue] [Solved] Exporting to PNG cuts off edges of drawing

Posted: Mon Feb 04, 2019 8:40 pm
by SketchMan3
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!

Re: Exporting to PNG cuts off edges of drawing

Posted: Mon Feb 04, 2019 9:10 pm
by Zizi64
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.

Re: Exporting to PNG cuts off edges of drawing

Posted: Mon Feb 04, 2019 9:22 pm
by John_Ha
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.

Re: Exporting to PNG cuts off edges of drawing

Posted: Mon Feb 04, 2019 9:28 pm
by SketchMan3
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.

Re: Exporting to PNG cuts off edges of drawing

Posted: Mon Feb 04, 2019 9:51 pm
by RoryOF
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.

Re: Exporting to PNG cuts off edges of drawing

Posted: Mon Feb 04, 2019 9:59 pm
by SketchMan3
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.
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)

Re: [Solved] Exporting to PNG cuts off edges of drawing

Posted: Wed Feb 06, 2019 10:58 am
by Bidouille