Unexpected Line Rendering Between Adjacent Objects?

This is NOT a support forum. You are welcome to discuss software issues here, but all issues should be reported on Launchpad if you want them fixed.
User avatar
druban
Posts: 1650
Joined: Fri Nov 20, 2009 10:48 pm

Unexpected Line Rendering Between Adjacent Objects?

Postby druban » Fri Jul 22, 2011 3:12 pm

Under certain conditions Inkscape will render a line between objects that have no gap between them. I understand this is due to software issues in the rendering engine for anti-aliased objects, although I am not a programmer and it may be for some other reason entirely. The error occurs in both the on-screen display, and, much more unfortunately, in the bitmap export as well.

In any case, this seems to be a recurring problem, and the workarounds that have been proposed over time involve either overlapping the objects a tiny bit, or putting another object behind them to cover the rendered "gap", neither of which seem very satisfactory. Aligning the objects to the pixel grid, as far as i can tell, does not resolve the problem.

However, after doing some experimentation, i believe i can offer a very usable solution, although I suppose the developers will fix it in a more effective way soon enough...

For onscreen display, the line between objects that are touching each other, as others have observed, goes away at certain zoom levels. I determined these to be zooms that are multiples of 5, so that one can enter such a magnification in the bottom right hand corner to get accurate onscreen results.

For bitmap export, the result is similarly accurate, i.e. an anomalous line is NOT displayed, at export resolutions that are multiples of 3. This is set in the export bitmap dialog box. Once the bitmap is exported, if one needs a resolution other than the one used for export, there are a variety of image editors that one can use to change the embedded resolution of the bitmap. if one needs a bitmap of a very specific pixel dimension, then of course one has to resize the drawing in Inkscape prior to exporting; this is complicated but alas, necessary.

This method is effective on Windows (XP), using a recent build of Inkscape. If you use another platform and find it effective or ineffective you could mention it here...
Hope this helps!

As of july 2012 this method no longer seems to work! I would take this post down to avoid misleading anyone but for now I am leaving it up for informative purposes. I believe 0.48.1 might have been the last version that this worked on.
Last edited by druban on Sun Jul 15, 2012 7:09 am, edited 1 time in total.
Your mind is what you think it is.

User avatar
Bucic
Posts: 128
Joined: Fri Apr 24, 2009 2:50 am
Location: Poland

Re: Unexpected Line Rendering Between Adjacent Objects?

Postby Bucic » Sat Aug 27, 2011 9:17 pm

Thanks.
!!! Support wishlist: A new perspective / transformation tool http://tinyurl.com/3uacua4
* Inkscape Tutorial Basics A different approach... http://tinyurl.com/3pextp3
* What do I use Inkscape for http://tinyurl.com/3pbna6l

User avatar
Ponny
Posts: 96
Joined: Wed Oct 10, 2007 3:02 am
Location: Mystic kingdom of Krakovo

Re: Unexpected Line Rendering Between Adjacent Objects?

Postby Ponny » Thu Dec 15, 2011 1:24 am

I wish to ask this. Has anyone checked out what's going on with this line in print?

Thankyou and merry christmas.


Ponny
Did you see the indigo Pony, when he came from other side wall of the night?

User avatar
Ponny
Posts: 96
Joined: Wed Oct 10, 2007 3:02 am
Location: Mystic kingdom of Krakovo

Re: Unexpected Line Rendering Between Adjacent Objects?

Postby Ponny » Wed Dec 21, 2011 5:55 am

I got zero answers to my question. So I tested myself. Result is: on printing is this lines not visible.


Ponny
Did you see the indigo Pony, when he came from other side wall of the night?


Return to “Discuss Software Issues”

Who is online

Users browsing this forum: No registered users and 4 guests