command line ODG export option (e.g. -G, --export-odg=FILENAME)

Bug #201614 reported by The Amigo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
In Progress
Wishlist
jazzynico

Bug Description

In addition to Inkscape's existing --export-ps, --export-eps, --export-pdf and --export-emf, it'd be nice to have an --export-odg option.

I've also looked into using the --verb FileSaveAs, but that doesn't appear to take parameters (preventing automation), nor does it seem possible to write a plugin that would implement such a feature. (please correct me if I'm wrong)

sas (sas-sas)
Changed in inkscape:
importance: Undecided → Wishlist
theAdib (theadib)
tags: added: odg
tags: added: cli
Kris (kris-degussem)
Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

> I've also looked into using the --verb FileSaveAs, but that doesn't
> appear to take parameters (preventing automation), nor does it seem
> possible to write a plugin that would implement such a feature.
> (please correct me if I'm wrong)

This is correct, and tracked in
- Bug #361237 ”Provide scriptable method of saving files“

Related (output extension id as verb does not work either):
- Bug #503784 “export to dxf via command line”

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

> In addition to Inkscape's existing --export-ps, --export-eps,
> --export-pdf and --export-emf, it'd be nice to have an --export-odg
> option.

Since ODG output is an internal extension, this should not be too difficult to add -> tagging as 'easy-fix'.

tags: added: easy-fix
Revision history for this message
jazzynico (jazzynico) wrote :

Initial patch.
Command line export works, but sometimes the generated file is not the same as when exported with the GUI.

More tests needed.

Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
milestone: none → 0.49
status: Confirmed → In Progress
jazzynico (jazzynico)
Changed in inkscape:
milestone: 0.91 → 1.0
Revision history for this message
narupo (narupo) wrote :

hi

Patrick Storz (ede123)
Changed in inkscape:
milestone: 1.0-old → 1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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