Description | I have not been able to reliably reproduce this, but if I have a file with an object completely filling the canvas (ie I entered the page's size and 0,0 as the corner coordinates), when I export as a PNG I am sometimes left with a one pixel wide band around one or more of the edges that is the correct colour be lower opacity. I've only seen this border be one pixel wide, so I assume it relates to the accuracy of the mapping between the canvas objects and the pixels... possibly the exporter isn't sufficiently careful in differentiating the centre and corner of the pixels? ie in pixel coordinates the pixel usually refers to it's centre... so (0,0) is the centre of the top left pixel. If this is mapped onto the canvas, half (or 3/4 for corner pixels) of that pixel would correspond to a region outside the canvas. In practise you need to map pixel coordinates (-0.5, -0.5) to the corner of the canvas to ensure each pixel represents (exclusively) a canvas region. I've never tried exporting with a background object bigger than the page, but if I am correct about the source of the issue, this would be a work around. |
---|