
I've got an external texture made in the GIMP to be seamless. I import it into Inkscape and use it as a pattern. When I scale the object, but keep the pattern the same size, I sometimes notice at certain zooms or when scrolled to certain positions border lines, as if the pattern is not scaling uniformly or if there is some minor precision error where you can see a very fine border at some areas. This is not around all instances of the pattern in the object, but sometimes, just a single line in the middle of the object.
Brian Vanderburg II

Hi Brian-
This is a known bug-
https://bugs.launchpad.net/inkscape/+bug/167900 https://bugs.launchpad.net/inkscape/+bug/165780 https://bugs.launchpad.net/inkscape/+bug/169118
(and more duplicate reports).
The main explanation is that this is due to anti-aliasing in the pattern renderer.
One workaround I have used sucessfully is to create the pattern 1 px larger in both directions, and then manually tweak the pattern definition in the svg file after I have created the drawing.
For example, I started with a 128x128 tile, and used GIMP to make it 129x129, duplicating the leftmost column of pixels to the right size and the topmost row of pixels to the bottom. After using the pattern I change the width and height attributes of the pattern in the SVG code back to 128 (while leaving the image width and height attributes as 129). This effectively overlaps by a pixel on each size and eliminates the gaps.
I honestly don't know if this renders properly in other SVG implementation, but it works in Inkscape :)
<pattern patternUnits="userSpaceOnUse" width="128" height="128" patternTransform="translate(118.85718,159.79071)" id="pattern3519"> <image xlink:href="C:\Images\ARTWORK\TILES\NATURAL\GRASS\veg037.png" sodipodi:absref="C:\Images\ARTWORK\TILES\NATURAL\GRASS\veg037.png" width="129" height="129" id="image3515" x="0" y="0" /> </pattern>
-Rob A>
On Jan 19, 2008 11:18 AM, Brian Vanderburg II wrote:
I've got an external texture made in the GIMP to be seamless. I import it into Inkscape and use it as a pattern. When I scale the object, but keep the pattern the same size, I sometimes notice at certain zooms or when scrolled to certain positions border lines, as if the pattern is not scaling uniformly or if there is some minor precision error where you can see a very fine border at some areas. This is not around all instances of the pattern in the object, but sometimes, just a single line in the middle of the object.
Brian Vanderburg II
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (2)
-
Brian Vanderburg II
-
Rob Antonishen