Bug 408444

Summary: Include the 'SVG' filetype under File -> Export
Product: [Applications] krita Reporter: jimbo <loudsquid>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: ghevan, halla
Priority: NOR    
Version: 4.2.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description jimbo 2019-06-08 02:11:04 UTC
SUMMARY
When exporting to a vector file you need to go to 'Menu bar -> Layers -> Import/Export -> Save Vector Layer as SVG'. However this isn't as intuitive as  'Menu bar -> File -> Export' or even 'Save As'. If Krita has the ability to export the layer as SVG why isn't it present as a filetype that you can save to?


SOFTWARE/OS VERSIONS
Windows: Windows 7 Professional 64 bit
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 vanyossi 2019-06-08 02:40:19 UTC
An svg is rendered from a vector layer. The vector layer is composed only of vector shapes and can be converted to svg allowing the resulting svg equal to what you see in the layer and fully editable.

A krita project consists of many more layer types than vector objects. When exporting to an svg from "File -> export", what it the user expected to get? a fully editable svg with rastered included layers as base64 images? like this Almost all filter effects would be missing and the image output would be substancially different than the projection in krita. Another option would be to allow the user to choose the vector layer to render, but then, it is more straight forward to just have the option in the layer menu.
Comment 2 Halla Rempt 2019-06-08 08:19:17 UTC

*** This bug has been marked as a duplicate of bug 404834 ***
Comment 3 jimbo 2019-06-10 06:14:05 UTC
(In reply to vanyossi from comment #1)
> An svg is rendered from a vector layer. The vector layer is composed only of
> vector shapes and can be converted to svg allowing the resulting svg equal
> to what you see in the layer and fully editable.
> 
> A krita project consists of many more layer types than vector objects. When
> exporting to an svg from "File -> export", what it the user expected to get?
> a fully editable svg with rastered included layers as base64 images? like
> this Almost all filter effects would be missing and the image output would
> be substancially different than the projection in krita. 

Ah, I see the issue with doing that. I'm only bringing it up as most newbies would look for File -> Export first. It was a sticking point for me when I wanted to reuse my vector graphics but couldn't find the option easily.

> Another option
> would be to allow the user to choose the vector layer to render, but then,
> it is more straight forward to just have the option in the layer menu.

Maybe adding an 'Export to SVG' option to the right-click context menu for the layers?