Save/Export Selection as SVG

Bug #170546 reported by Bug Importer
62
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Wishlist
Unassigned

Bug Description

Perhaps a stupid and obvious idea but wouldn't it be
convenient to save or export a selection into another
SVG file?

Revision history for this message
Bug Importer (bug-importer) wrote :

I agree. It would be great feature.

Revision history for this message
Horkana-users (horkana-users) wrote :

Is this something you need to do a lot? There are many
features that would be useful but we wil never have room
enough for all of them.
Why not create a New Window and paste the selection there?

I would however be interested to see a way to break up a
document creating a seperate document for each Layer/group,
and going about it in a more general way might better solve
the task you are trying to perform.

Revision history for this message
Ubersoft (ubersoft) wrote :

I would like to add my support for the inclusion of this
feature. Cutting and pasting an image into a new document
just to save it solo is needlessly complicated, not to
mention a resource hog (especially if the original document
you are working from is very large and complicated). Being
able to export a selection as SVG in a way similiar to the
method you export a selection as PNG would be an amazingly
convenient feature to have...

Revision history for this message
Bug Importer (bug-importer) wrote :

> Cutting and pasting an image into a new document
just to save it solo is needlessly complicated, not to
mention a resource hog

Select, Invert Selection, then Cut, would probably be more
resource efficient than cuttting and pasting to a new
document.

If any of the commenters were the original reporter of this
request could you please say, and leave you name and contact
details should the developers require any follow up
information.

Screenshots of how other programs present this functionality
might also be useful.

vonHalenbach (lustik)
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Invalid
Revision history for this message
Scott Norris (scottie-z) wrote :

I see this has been closed for four years, but the issue still remains, in certain use cases involving frequent saving of parts of a master document, this would be a huge timesaver.

Ideally, one could ...

(1) select parts of a drawing
(2) export selection as ...

where the default behavior of the requested feature would be to crop the resulting page dimensions to the size of the selected objects. Instead, what we have to do now is ...

(1) select parts of a drawing
(2) copy
(3) new document
(4) paste
(5) file -> document properties -> fit page to selection
(6) export ...
(7) close without saving, dismissing dialog boxes to do so

Replaceing (2)-(4) with

(2) invert
(3) delete

only works if the objects are all in the same layer, which may not be the case.

In my own case, I am using a pen tablet to write out the steps of a calculation for presentation as a slideshow in class. Each major step goes into a different layer for (hopefully possible) transformation, via a script, to a step-by-step uncovering of the steps of the calculation. However, I also want to recycle the steps of this calculation -- in pieces -- for inclusion into a manuscript with added textual commentary.

Now of course, in my own case, I could do a native LaTeX presentation and extraction. But handwriting is much faster even than LyX, and way faster than direct LaTeX and beamer \uncover<> steps. The only way to do this is with a pen tablet, or not at all. And I suspect other use cases exist.

Revision history for this message
Johan Engelen (johanengelen) wrote :

Changing the status to incomplete. I think this functionality is worth adding. Please provide ideas on where to add it to the mene, or somewhere else in the UI.

Changed in inkscape:
status: Invalid → Incomplete
su_v (suv-lp)
tags: added: exporting selection
removed: import-export
Revision history for this message
su_v (suv-lp) wrote :

Related feature requests:
Bug #168627 “RFE: 'export selection' to vector formats (PDF, eps,...)”
Bug #170370 “saving selected objects”
Bug #281928 “Add option "only selection" to "Save as..." menu”

Revision history for this message
su_v (suv-lp) wrote :

Related feature requests (cont.):
Bug #170764 “New from Clipboard / Paste as New - create a new document from clipboard contents”
(has patch, work-in-progress)

Changed in inkscape:
status: Incomplete → Confirmed
Revision history for this message
Rafaeel Corsi Ferrao (corsiferrao) wrote :

No solution until now ? I face this problem every time I use inkscape

Revision history for this message
Martin Wehrli (wehrlim) wrote :

My usecase:
I have a full icon-library in one svg-document and now need single svg-documents for every icon. I use the same workflow as Scott Norris described in this issue, but it is very annoying and time-consuming. Having a more convenient way to do it would be nice!

Revision history for this message
rho (rho-t) wrote :

Indeed this functionality would be very useful. For instance, just to show how useful it could be, I also have several images (7) separated in layers within a file, and 400 files. It will take me a month to pass them manually. A command line option to solve this could be great. Thanks!

Revision history for this message
Samuel Dellicour (smd) wrote :

There are some scripts out there that might help batch exporting objects or groups or layers:
See https://github.com/search?q=inkscape%20export%20svg

Revision history for this message
Ezra Sharp (nicekiwi) wrote :

I'm creating an animation in Anime Studio, I've created all my characters and vehicles and backgrounds etc in Inkscape.. but now I have to copy/paste all separate arms/legs/legs/parts for each prop into a new doc, resize it and save it individually? :/

This feature needs to happen. Preferably as part of the "Export as PNG" feature, change it just to "Export.." and let us choose PNG or SVG.

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Hi Ezra. Maybe this great application could help you:
First resize full document to the desired size.
Second use this: https://bugs.launchpad.net/inkscape/+bug/1530380

Revision history for this message
grey tomorrow (gtomorrow) wrote :

Closing because INVALID: request exists on GitLab.

Please see https://gitlab.com/inkscape/inbox/-/issues/88

BTW, not a "stupid idea."

If you feel this issue has been unjustly closed, please feel free to open a new issue at https://inkscape.org/report . Thank you.

Closed by: https://gitlab.com/greytomorrow

tags: added: bug-migration
Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.