Bug 404834 - Please add Export to SVG
Summary: Please add Export to SVG
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 4.1.7
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Reinold Rojas
URL:
Keywords:
: 408444 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-26 09:44 UTC by alkaris
Modified: 2022-08-04 08:42 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (8.91 KB, image/png)
2019-02-26 10:07 UTC, alkaris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alkaris 2019-02-26 09:44:17 UTC
SUMMARY

I'm really disappointed that Krita doesn't have an Export to SVG, yet is able to Import SVG files. SVG is open standard afterall, making it free for implementation in any specific application.
Comment 1 Halla Rempt 2019-02-26 09:45:49 UTC
You can save individual vector layers to SVG already. Exporting an image with other layer types to SVG is something we'd like to have, but nobody has had time to do that yet.
Comment 2 David REVOY 2019-02-26 09:54:28 UTC
@shadwolf16; The feature is located in the menu here: Layer > Import/Export > Save vector layer as SVG.
Comment 3 alkaris 2019-02-26 10:07:12 UTC
Created attachment 118372 [details]
screenshot

This option is greyed out.
Comment 4 Halla Rempt 2019-02-26 10:08:21 UTC
Is your layer a vector layer?
Comment 5 alkaris 2019-02-26 10:13:41 UTC
You should be able export to SVG regardless what the layer type is.
Comment 6 Halla Rempt 2019-02-26 10:16:48 UTC
No.
Comment 7 alkaris 2019-02-26 10:19:15 UTC
Then it should be changed to do so, and put under the Export As menu, any other art/graphics applications I've used does it, doesn't mean Krita can't be done so either.
Comment 8 David REVOY 2019-02-26 10:43:13 UTC
@philip: About "it should be changed to do so"; I understand here that you might be right and I understand how much you think to weight for your opinion in the discussion with such a sentence... but it doesn't really help and I predict this type of feedback is not really either motivating for any dev. I explain:

- Krita scope is mainly to produce bitmap artworks from scratch. The fact Krita use SVG as a tool and transitional way to store, import and manipulate objects doesn't mean it is designed to be a tool able to produce full vector graphics and subsitute to, eg. Karbon or Inkscape. In this regards, only community volunteers will probably submit this type of feature; I'm not sure it will be part of the priority in development. So, you might probably try to advocate in this type of bug-report what you are trying to achieve on your artwork and how this feature could help you to do it.

- If you manipulated Krita vector layers; you probably saw it is still impossible to import bitmap objects inside the vector layers (exept maybe as a "reference image tool" who has a sort of vector/bitmap behavior). So all the bitmap image handling will be still to be done and designed. How do you manage this picture? are they linked with relative path, absolute, or full embed? Does it needs a dialog? Can a user convert a paint-layer into a vector layer this way? If you scale down a bitmap object on canvas, what algorythm to use to do the synthesis of the missing pixels? (bicubic, lanczos, etc?..). That's just a sample of a lot lot lot of design to do: it is not just a label to plug in the top menu. It is weeks of stoping everything and work on this specific feature, and the team is small. This can add perspective.

- Converting a full *.kra project in a *.svg via a 'save as' would need even more dialogs: how to convert color space? how to export blending mode not available in SVG?... What to do with other feature like assistants/references/etc...groups? mask? filter layers?...
Comment 9 Halla Rempt 2019-06-08 08:19:17 UTC
*** Bug 408444 has been marked as a duplicate of this bug. ***
Comment 10 Tiar 2020-06-09 19:45:35 UTC
Just to pump up the priority, I want to mention that such a bitmap+SVG files (more precisely, SVG files with bitmaps embedded as shapes with binary content, or something like that) are quite useful for the manual since the bitmap part can be the same for all languages and the SVG text can be translated. Moving it over to Inkscape can be a challenge if there is a lot of layers and the user (...me) is not comfortable in Inkscape yet.

Regarding how Krita will open SVG with embedded bitmaps - well, it can just the way it does now, which is, most probably, ignoring those parts.

Regarding exporting assistants etc - one cannot save assistants when exporting to PNG either, but it's still in Krita. No file format except for .kra can save everything Krita has to save.