Script to simplify icon export?
I draw icons daily. I have lots of icons in one drawing, to enable fast re-use of colors and objects.
To simplify export, I have a "bottom layer" which I call "fakepages". In that layer, I have rectangles of sizes 16x16, 24x24 and 32x32. One rectangle beneath each icon.
So when I want to export an icon:
1. I select the fake page rectangle beneath it
2. [Ctrl+Shift+D] bring up the Document window
3. [Alt+F] fit the page to selection
4. Close the window
5. [Ctrl+Alt+E] Export window
6. Browse to the right icon path for export
7. Press Export
8. Confirm the export
As you can imagine, this "algorithm" becomes quite a bore when I'm changing the color scheme of a whole series of icons, or changing icon sizes, or some other icon-set operation.
I know Python can be used to script things in Inkscape. Would it be possible to write a script, that somehow automates (parts of) this algorithm?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Inkscape Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Olof Bjarnason
- Solved:
- Last query:
- Last reply: