Selectively Export layers from Command Line Interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Intended users : people using inkscape for
presentations may want to progressively show different
aspect of their drawing (for instance in a flow chart,
the different steps) or highlight differently certain
parts (when describing the central nervous system, I
widh to focus sequentially on various parts). a first
solution is to create many svg files. a better solution
(inspired by metapost) is to use the same SVG file and
to export selectively the layers.
solution : the best would be to be able to export from
the command line different layers. a simple script
would then create the different files (I like to export
in pdf using epstopdf) which could be imported to the
presentation (Impress, or I use Latex with the Beamer
package).
example :
inkscape filename.svg --select-
-alpha-layer=.2 -select-
--export-
would export the layers layer1 and layer2 with resp.
alpha values of .2 and 1 to filename.png
Thanks for the excellent work
Laurent
Changed in inkscape: | |
importance: | Undecided → Wishlist |
Changed in inkscape: | |
status: | New → Confirmed |
tags: | added: cli |
tags: |
added: layers removed: import-export |
tags: | added: bitmap |
interesting
might want to implement it in a more generic way
rather than simply breaking apart at each layer you would
break apart at each <group> or <tag> of a given depth.
like how openoffice HTML export includes an option to create
a new page at each <h1> or other tag, could be very powerful.