I got a question concerning the .png export of Inkscape. I want to draw 2 rectangles which touch each other (snapping enabled, snap bounding box corners). Each box has a certain fill color and no stroke paint. After exporting a .png image I would expect to have only two colors in my Image, but instead IrfanView tells me I got 3 colors. Zooming in, this third color occurs at the boundary line where the rectangles touch. Zooming in with Gimp, there is transparency between the rectangles. Neither by letting the rectangles overlap, nor by using stroke paint, I can get rid of this 3rd color.
Does anybody know how to solve this problem? For my purpose I need a .png image which contains only certain color values that I used to fill rectangles.
here is the XML code of the rectangeles:
<rect
style="opacity:1;fill:#797979;fill-opacity:1;stroke:none;stroke-width:1.77165353;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3336"
width="514.28571"
height="182.85715"
x="85.714287"
y="255.21935"
inkscape:export-xdpi="100"
inkscape:export-ydpi="100" />
<rect
style="opacity:1;fill:#dfdfdf;fill-opacity:1;stroke:none;stroke-width:1.77165353;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4140"
width="514.28571"
height="199.28571"
x="85.714287"
y="438.07648"
inkscape:export-xdpi="100"
inkscape:export-ydpi="100" />