Exporting PNG faded lines

Post questions on how to use or achieve an effect in Inkscape.
corogated
Posts: 2
Joined: Wed Sep 20, 2017 1:17 am

Exporting PNG faded lines

Postby corogated » Wed Sep 20, 2017 1:31 am

I am trying to export a png out of inkscape. after i export the image the edge of the line become faded.
If anyone has seen this before i would appreciate the feed back.

Thanks
Attachments
inkscape.PNG
inkscape.PNG (13.54 KiB) Viewed 2100 times

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: Exporting PNG faded lines

Postby v1nce » Wed Sep 20, 2017 3:04 am

Maybe it's a bug in the renderer but most probably

This is because of pixel being on a boundary.
If your dark shape starts at y=100 and the border is 1px (or any odd or non inteneger number) wide then the renderer needs to draw 50% of this pixel at 99 and 50% at 100.
The same goes for a filled object (with no border) that does not start at integer positions. If your shape starts at 100.8 then the renderer will merge 80% of background (white) with 20% of shape (black) = light gray

There is some extension to realign your objects
viewtopic.php?t=3653

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Exporting PNG faded lines

Postby Lazur » Wed Sep 20, 2017 3:48 am

Fading is the result of anti-aliasing.

related topic

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Exporting PNG faded lines

Postby Moini » Wed Sep 20, 2017 9:24 am

Inkscape 0.93 will provide a solution:
http://i.imgur.com/a94OtzH.png
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

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

Re: Exporting PNG faded lines

Postby brynn » Wed Sep 20, 2017 12:01 pm

Wow!

corogated
Posts: 2
Joined: Wed Sep 20, 2017 1:17 am

Re: Exporting PNG faded lines

Postby corogated » Fri Oct 06, 2017 3:29 am

how can i get inkscape 0.93?

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

Re: Exporting PNG faded lines

Postby brynn » Fri Oct 06, 2017 5:55 am

Still waiting. Current stable version is 0.92.2.

There is a development version (considered experimental) but I don't know if this feature is in it yet. Moini got a screenshot, so maybe it is?

See https://inkscape.org/en/release/

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Exporting PNG faded lines

Postby Moini » Fri Oct 06, 2017 10:54 am

What's your operating system, corogated?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”