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

Bug #201614 reported by The Amigo on 2008-03-12
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
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) on 2008-07-30
Changed in inkscape:
importance: Undecided → Wishlist
theAdib (theadib) on 2009-04-10
tags: added: odg
tags: added: cli
Kris (kris-degussem) on 2013-03-11
Changed in inkscape:
status: New → Confirmed
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”

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
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) on 2014-10-02
Changed in inkscape:
milestone: 0.91 → 1.0
narupo (narupo) wrote :

hi

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

Other bug subscribers