File -> Export Bitmap -> Selection

Asked by Brian

There is always a 2-pixel margin at the four sides of the selected object in the exported png file. Why? How can I remove it?

The image is to be used as a header banner for a webpage, 1000 x 100 pixels. When I create the rectangle of this size, somehow the size will later on become 1004 x 104, andI figured out that those extra spaces are the margin described above.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Oleg Koptev
Solved:
Last query:
Last reply:
Revision history for this message
Best Oleg Koptev (koptev-oleg) said :
#1

Did you switch stroke off?

Revision history for this message
Brian (briandreleung) said :
#2

Thanks Koptev Oleg, that solved my question.