Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting pattern as plain-svg #21

Open
jonpatterns opened this issue Aug 21, 2019 · 0 comments
Open

Exporting pattern as plain-svg #21

jonpatterns opened this issue Aug 21, 2019 · 0 comments

Comments

@jonpatterns
Copy link

Export a pattern as plain-svg results in a svg with all object still present - but with the document border around object with matching pattern.

For example, this creates a png with only object with label matching 'small*'

python2 "$(readlink -f ~/'python/svg-objects-export.py')"  --pattern 'small*' GF.svg
Inkscape 0.92.4 5da689c313, 2019-01-14
exporting from GF.svg all objects matching small*
  small to GF_small.png
Background RRGGBBAA: ffffff00
Area 26.457:1691.26:336.379:2001.18 exported to 310 x 310 pixels (96 dpi)
Bitmap saved as: GF_small.png

But this creates a plain-svg with all object present, but with document border around object with label matching 'small*'

python2 "$(readlink -f ~/'python/svg-objects-export.py')" -t plain-svg  --pattern 'small*'  GF.svg
Inkscape 0.92.4 5da689c313, 2019-01-14
exporting from GF.svg all objects matching small*
  small to GF_small.plain-svg.svg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant