Vector graphic file import for Krita

For quite some time Krita supports shape layers now. It’s quite surprising that many users are use the vector features even though they are not as powerful as in pure vector graphics programs. Probably one of the biggest problem in the 2.3 and before was inserting vector graphics.

While inserting primitive shapes is very easy, inserting complex vector graphics was rather difficult. There were two ways to insert them, you could either open a file with the file dialog and it would get rasterized or you could copy and paste it from Karbon. After Kubuntiac brought up the wish to have better SVG support, I took over and added the new import filter.

The actual filter turned out to be really small as it just needs to open the file and find out which shape should go to which layer as the rest is done by flake. The filter at can load ODG files. After some fixes from Cyrille the filter can now also load SVG files (we use the Karbon SVG import). Pretty cool is also that we preserve Karbon layers as well as layers form Inkscape SVGs.

About these ads

6 Responses to “Vector graphic file import for Krita”

  1. Silvio Grosso Says:

    THANKS a lot for having improved the support for the svg format.

    By the way, from the screenshot I have noticed that, for your testing, you have used the same sample tested by the developers of the Novell Office suite “Go-oo” (now merged into LibreOffice) [1].
    As a consequence, we might say that both Krita and LibreOffice can now “tame” tigers :-)

    [1] http://go-oo.org/discover/tiger.svg

  2. slangkamp Says:

    This tiger is the standard file to demonstrate svg capabilities. :)

  3. Blablabla Says:

    Please excuse me for the off-topic comment, but nobody gave me an answer for this… I cannot find the answer by myself because I’m a GNOME user, and by the moment I prefer don’t manipulate any Qt library on my Gentoo system: Is there any way in Karbon to trace bitmaps (like the Potrace UI that Inkscape has) or should I use Potrace separately? Thanks in advance, and keep going in your great job. Probably I’m going to switch to KDE :)

  4. slangkamp Says:

    At the moment tracing isn’t in Karbon yet. You can also use Inkscape to trace it, export it and open it in Karbon. If you have more questions there is a Calligra forum on forum.kde.org

  5. Douglas E Knapp Says:

    Importing is great but what about exporting? See this thread is rather old.

  6. slangkamp Says:

    Export isn’t that useful as Krita is pixel based. So it would be possible to add that for vector layers, but it’s not something that Krita is made for in general.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: