Best possible export settings

General discussions about Inkscape.
earthshaker
Posts: 5
Joined: Sat Jan 03, 2009 12:36 pm

Best possible export settings

Postby earthshaker » Mon Jan 26, 2009 7:13 am

I don't know if there is a setting I can tweak in the export mode, if there is I would like to find it.
I have a very clean svg of a project I am working on, and it has to be exported as a png for final implementation.
Well after I export my clean sharp svg, it is no longer clean and sharp. This is especially noticeable in the text areas for the buttons.
I am not looking forward to resetting the text with new on the png format image any ideas?
R

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

Re: Best possible export settings

Postby prkos » Mon Jan 26, 2009 9:27 am

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

User avatar
ErikTiePie
Posts: 92
Joined: Fri Nov 21, 2008 10:52 pm

Re: Best possible export settings

Postby ErikTiePie » Mon Jan 26, 2009 9:21 pm

I experience similar things when viewing exported PNGs, lines that appear smooth in Inkscape appear ugly in my viewer.

In my case, it turns out te be the viewer I use, ACDSee Classic 2.43, it has difficulties with showing (partially) transparent PNG's, specially when an object is drawn in a transparent background.

When I view the same PNG in e.g. Firefox, it shows perfectly.

In my case it's my viewer that goes wrong, not Inkscape

User avatar
EarlyBlake
Posts: 302
Joined: Tue Jun 03, 2008 5:42 pm

Re: Best possible export settings

Postby EarlyBlake » Tue Jan 27, 2009 1:23 pm

earthshaker wrote:I don't know if there is a setting I can tweak in the export mode, if there is I would like to find it.
I have a very clean svg of a project I am working on, and it has to be exported as a png for final implementation.
Well after I export my clean sharp svg, it is no longer clean and sharp. This is especially noticeable in the text areas for the buttons.
I am not looking forward to resetting the text with new on the png format image any ideas?
R


How many dots per inch are you exporting it at? I'm sloppy I export every thing at a high resolution then scale it down in gimp on the default interpolation of cubic. And turn down the compression when I save the new PNG file. There is probably a better way, though.

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Best possible export settings

Postby capnhud » Sat Jan 31, 2009 12:30 am

If you export at lets say 92 dpi you will end up with a larger image that what you drew. Now take that image and open in a bitmap editor and scale to the correct size that you had in inkscape and you image should come out crisp and clear. With text it is not possible to have pixel perfect alignment so this method helps alot. For all other instances horizontal and vertical lines should be aligned to the pixel in order to maintain crispness.

xxxDex

Re: Best possible export settings

Postby xxxDex » Sun Dec 06, 2009 3:57 am

This is very serious question, yet i dont see any serious answers.
If you have 1px line surrounded with objects of different colour, you can NEVER export it in original colour.
Example: i have 1px lime (0,255,0) straight line surrounded with black objects. Lime color represents transparency in that image.
Since lime is changed in export to slightly different color, it equals that image has no transparent parts!
It is painfull and time wasteing to paintshop every image exported from Inkscape, and no quality options in export meny are not encourageing for users.


Return to “General Discussions”