idea: Fix Them Annoying AA Seams

Flesh out your ideas for new or improved Inkscape features before submitting a request.
tidbit
Posts: 4
Joined: Sun Aug 26, 2012 3:55 am

idea: Fix Them Annoying AA Seams

Postby tidbit » Sun Aug 26, 2012 4:28 am

... in inkscape.

There have been numerous discussions about this all over the net. Most are fairly old topics. A couple topics exist on this board too, but they are talking about something more specific (such as 'seams in patterns/tiles'). I thought I'd revive the issue!

Sooo, looking around the internets, I found a Launchpad bug from 2004 (8+ years ago!) discribing the issue. Basically, something needs to be done to fix this, atleast for exports. The seams are fine in the main window (IMO) but it completely ruins exported files. I do not see how this is a low priority issue that has been brought up time and time again.

IMO, the little quirk ruins inkscape. It's a pain to go into something like Gimp and then edit out all the little lines, especially if there is transparency, gradients or patterns. Waiting a few seconds (or minutes for large outputs) longer would be acceptable for an artifact-free output (think of the extra export time as you slaving away in GIMP/PS fixing it manually).

It's a challenging fix as many have stated. but 100% possible, and in my opinion, vital.

a couple simple examples showing artifacts:
letters should NOT have a thin outline: http://i48.tinypic.com/2ch3s7m.png
again, there should be no white lines: http://i45.tinypic.com/14nifd0.png

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: idea: Fix Them Annoying AA Seams

Postby brynn » Sun Aug 26, 2012 8:00 am

Image
Welcome to InkscapeForum!

I'm not sure what you mean by "AA Seams". And it's hard to say what's causing those thin lines in the images provided, without having the SVG files to examine. Some of it may be related to how Inkscape makes such crisp, clean lines, i.e. anitaliasing. There are ways to hide those lines though, without resorting to GIMP or other raster editor. The lines between pattern tiles may be a different issue, I'm not sure. Here's one way: viewtopic.php" onclick="readonly();return false;"postlink-local" href="viewtopic1509-3.html?f=29&t=9866">viewtopic.php?f=29&t=9866.

In 0.49 we're expecting a new renderer for Inkscape. I'm not sure if it will address these issues or not. For some reason, I have the impression that it might help, but I'm not sure if it will eliminate the problem. Someone else should speak to that though, because I'm not sure.

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: idea: Fix Them Annoying AA Seams

Postby druban » Sun Aug 26, 2012 8:08 am

brynn wrote:I'm not sure what you mean by "AA Seams". And it's hard to say what's causing those thin lines in the images provided, without having the SVG files to examine. Some of it may be related to how Inkscape makes such crisp, clean lines, i.e. Anti-Aliasing.

FYI, Brynn... :geek: ;)
Your mind is what you think it is.

tidbit
Posts: 4
Joined: Sun Aug 26, 2012 3:55 am

Re: idea: Fix Them Annoying AA Seams

Postby tidbit » Sun Aug 26, 2012 8:14 am

Thanks for the welcome :)

New engine in 0.49? cool. hope that fixes it.
and by "AA seams" I mean "seams cause by anitaliasing". that's what all those while lines are from, atleast according to all my research. the way Inkscape handles drawing of each object.

I'll look at those possible solutions, thanks!

here's my test file:
Attachments
ugly_seams_must_die.svg
win7, 64bit, inkscape 0.48.2
(31.79 KiB) Downloaded 321 times

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: idea: Fix Them Annoying AA Seams

Postby brynn » Sun Aug 26, 2012 9:01 am

druban wrote:
brynn wrote:I'm not sure what you mean by "AA Seams". And it's hard to say what's causing those thin lines in the images provided, without having the SVG files to examine. Some of it may be related to how Inkscape makes such crisp, clean lines, i.e. Anti-Aliasing.

FYI, Brynn... :geek: ;)

Ah-ha! Thanks druban :D

On the objects with the text, I've been able to add a stroke to the white text, and put the same gradient on the stroke that's on the starburst object. For the other object, I would duplicate, then Union all the duplicate pieces, give it the dark blue color, then send it to the back. Both tricks sort of cover up the lines. I say sort of, because it more covers them under than covers them up, lol :D

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: idea: Fix Them Annoying AA Seams

Postby microUgly » Sun Aug 26, 2012 9:31 am

I suspect this would require some serious trickiness.

The issue would be that at AA still must be performed if you don't want jaggies. Whilst AA is normally done between an object and the colour below it, what you are asking for is AA between an object and the colour adjacent to it. The renderer would need to know when two objects touched perfectly--and it might be that the objects are side-by-side most of their path, then diverge at which point the AA must switch.

Note that I'm not a graphics programmer and I'm not a Inkscape developer. But I would not assume this to be an easy problem to solve.

I'd be curious to know if other software, like Illustrator, have the same issue.

tidbit
Posts: 4
Joined: Sun Aug 26, 2012 3:55 am

Re: idea: Fix Them Annoying AA Seams

Postby tidbit » Sun Aug 26, 2012 12:23 pm

Yes, I could union all the dark blue things to remove the seams, however, what if I wanted to add shading? I could use a single gradient on the whole object, but that's not going to fit every need. I'd then have to add overlay objects to shade and that could potentially cause more lines.

as for a possible solution (and a little more info) see this post: viewtopic.php?p=13893#p13893
maybe the new engine you speak of will work like he discribes? How other programs do it.

random thought: does imagemagick support svg? :D with blur and gradient support, that is. Maybe it'll be able to render better. I'll do a test.

Edit: downloaded the svg i uploaded. WTF. everything is completely messed up. wow. anywho, it's the same issue.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: idea: Fix Them Annoying AA Seams

Postby brynn » Sun Aug 26, 2012 5:51 pm

tidbit wrote:Yes, I could union all the dark blue things to remove the seams, however, what if I wanted to add shading?

No, I said make duplicates and Union the duplicates. You can still add shading on top of it, without risking more lines, unless I don't understand how you plan to add shading.

I don't know much about other SVG editors, but you won't find many that are better than Inkscape. Only Illustrator would be better (arguably), I guess, but I don't know if it has this same problem or not. If you don't want to use Inkscape, then don't. But I know of very few situations where this issue can't be overcome. Did you try that Stitch filter?

I had no trouble with your file when I downloaded.

tidbit
Posts: 4
Joined: Sun Aug 26, 2012 3:55 am

Re: idea: Fix Them Annoying AA Seams

Postby tidbit » Mon Aug 27, 2012 12:56 am

well, I was able to get good results with your method(s). I'll keep stuff like this in mind when doing future stuff. thanks!
also, I was thinking of trying Corels (and MAYBE illustrators) trial just to compare features and stuff. but wow. 575MB to download.
If I ever do get around to trying corel or illustrator, I'll be sure to post if they have these issues aswell! assuming someone doesn't post first :D

Thanks for the work-arounds, but I'm not calling this solved ;) I'm pretty sure it can be worked on. Maybe some creative devs can think of a solution. Whether it's real-time or render only. Just wanted to bring up the topic of this issue again.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: idea: Fix Them Annoying AA Seams

Postby microUgly » Mon Aug 27, 2012 9:27 am

If you want to work with SVG, I can say to not bother with Illustrator. Like most software, Illustrator really only works well when working with its native format. When it comes to SVG, Inkscape is King because it's designed specifically for SVG.


Return to “Inkscape Ideas”