Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I've made a map in inkscape and now need to change it to a bitmap or .png. The map will be interpreted by a computer program which will look for exact colors so the edges need to be crisp. when I export a .png with inkscape, use an online file converter or even take a screenshot it is always anti-aliased. help.enter image description here

enter image description here

share|improve this question
    
Hmm...it doesn't look like Inkscape offers an aliased option when exporting to raster. You could try opening the SVG in a raster app (such as PS) and see if it offers you an alias option there. –  DA01 Jun 1 at 19:04
    
the Photoshop 7.0 I have doesn't seam to have the ability to open SVGs. I don't have any other programs that can do it. if there are any freeware ones that might work I am interested in what they are. –  William W Jun 1 at 19:11
    
As for raster apps The GIMP is open source. Paint.net is freeware. Not sure if either support opening of SVG, though. –  DA01 Jun 1 at 19:12
    
It looks like there might be a way to do this in the browser: stackoverflow.com/questions/16889078/… –  DA01 Jun 1 at 19:13
    
Oh, and finally...one workaround may be to take the screen shot, put that into PhotoShop, and then use PhotoShop's "Posterize" Filter/tool to reduce the color pallet down to only the solid colors you want to use. –  DA01 Jun 1 at 19:14

2 Answers 2

The development version of Inkscape (upcoming 0.91 release) has a global anti-aliasing toggle in the Document Properties window, which should also work for export. Look for "Development Versions" on the download page:

http://www.inkscape.org/en/download/

share|improve this answer
    
thanks, do you know how long until it comes out? I didn't see it on the site. –  William W Jun 1 at 20:10
    
The current phase is "Frost". You can see the progress towards the release here: inkscape.org/en/develop/next-release I think it should be released within the next 5 months. –  Krzysztof Kosiński Jun 1 at 20:56
    
Wow. They're jumping from .48 to .91! Granted, that's less than 'half a version' but still a huge update in the inkscape world. Version 1.0 here we come! –  DA01 Jun 3 at 2:49

One simple solution is to export to PDF, and then use Ghostcript on the resulting PDF. Using a strawberry image from Openclipart and the command

gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m \
   -r72 -dGraphicsAlphaBits=1 \
   -sOutputFile=image.png image.pdf 

I get the following result.

Non-antialised strawberry image. Zoomed in non-antialised strawberry image.

If your image also includes text, you’ll need to add -dTextAlphaBits=1 too. Change the -r72 to a different value to rescale the image.

share|improve this answer
    
That sure is a roundabout way of doing it but goshdang if it didn't work. –  obskyr Oct 5 at 16:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.