[solved] Export without anti-aliasing the edges?

Post questions on how to use or achieve an effect in Inkscape.
Chuck McKnight

[solved] Export without anti-aliasing the edges?

Postby Chuck McKnight » Sat Mar 29, 2008 10:23 am

Hi. I am trying to make icons for a theme for Rockbox. (For those unfamiliar with it, Rockbox is an Open Source firmware for mp3 players. See http://www.rockbox.org/)

The Icons in Rockbox only support one color transparency, so I need Inkscape to export the images without anti-aliasing the edges. Is this possible?

Thanks!

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Export without anti-aliasing the edges?

Postby prkos » Sat Mar 29, 2008 10:37 am

you can make it work under some conditions

http://wiki.inkscape.org/wiki/index.php ... liasing.3F
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

Chuck McKnight

Re: Export without anti-aliasing the edges?

Postby Chuck McKnight » Sat Mar 29, 2008 10:43 am

Thanks for the quick response. Unfortunately, I am already doing that. It works for straight lines, but nothing else.

I noticed in the link you posted, however, that it said "With the current renderer,..." Is there another renderer out there that will work?

Thanks again!

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

Re: Export without anti-aliasing the edges?

Postby microUgly » Mon Mar 31, 2008 10:12 am

Chuck McKnight wrote:Thanks for the quick response. Unfortunately, I am already doing that. It works for straight lines, but nothing else.

I suspect you also only want AA on transparent edges, not between edges of colour? The only way you're going to be able to do this is by fudging the image with a raster editor such as GIMP. A starting point would be to export the image at a very very high resolution, then scale it in GIMP without resampling to create pixelation - but as I suggested this will pixelate everything, not just transparent edges.

Chuck McKnight wrote:I noticed in the link you posted, however, that it said "With the current renderer,..." Is there another renderer out there that will work?

I wouldn't assume so.

Chuck McKnight

Re: Export without anti-aliasing the edges?

Postby Chuck McKnight » Mon Mar 31, 2008 10:36 am

Alright, I'll take a look at that and see what I can do. Thanks!

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Export without anti-aliasing the edges?

Postby aho » Mon Mar 31, 2008 11:26 am

Batik for example supports rendering hints.

User avatar
RobA
Posts: 335
Joined: Fri Aug 10, 2007 1:22 am

Re: Export without anti-aliasing the edges?

Postby RobA » Mon Mar 31, 2008 11:10 pm

If it is just the edges you are concerned with, you can threshold the alpha in GIMP to get rid of all (or some) of the semitransparent pixels. I think that would do what you want. I have done the same thing to get GIFS for displaying online.

-Rob A>

Chuck McKnight

Re: Export without anti-aliasing the edges?

Postby Chuck McKnight » Tue Apr 01, 2008 2:12 am

ffaat wrote:If it is just the edges you are concerned with, you can threshold the alpha in GIMP to get rid of all (or some) of the semitransparent pixels. I think that would do what you want. I have done the same thing to get GIFS for displaying online.

-Rob A>

Ah, perfect! That's exactly what I was looking for. Thanks! :D


Return to “Help with using Inkscape”