bulia byak wrote:
On Wed, 19 Jan 2005 14:57:41 -0600, Aaron Spike <fretfind@...248...> wrote:
Thanks for taking the time to write up that tip. But I can see how a gui export "Export All in Layer" command would be useful for those less inclined to shell scripting.
Ideally it would open a window with a list of all objects, each one taking one line, showing the "export" checkbox (default on for all objects), the id, the filename (editable, and displaying differently depending on whether it's taken from a stored hint or constructed from the id), and the resolution/w/h (also editable). You can then uncheck anything you don't want to export, edit the filenames if necessary, and click Export.
This sounds tiresome for me; imagine you want to do this more than once (because you had to fix something in the image). There should be a way to store this in the SVG file saved by Inkscape so I can do the same export operation again and again.
What I would like to see is this:
1. Export frames/groups
With each frame or group, you can specify the filename, format and the size (if it's a bitmap format). When you export, you are presented a list of all these frames and groups which inkscape remembers, so you can do the same process over and over again.
Frames would have an advantage over groups because I could create "whitespace" around the group. If there are "export groups" only, people will have to put a dummy background element to get the desired size. Maybe not a problem.
This would be useful for icons: Just draw all of them and put them into different export groups/frames. During export, Inkscape will write one file for each of them.
With powerful "style" support (read: give values in dialogs a name and then reuse them), people could attach such "styles" to export groups. Then I could have a style "32x32 icon" and one "64x64 icon" and one "svg icons". During export, I'd just select the styles in a selector in the dialog and always get the same results.
With the help of helplines, frames could be positioned exactly and the resulting images would fit seamlessly.
2. Export by layer
Just put the various parts of the image into different layers and each layer will go into a separate file.
When you do this, you'll probably want to set the output format/size/etc. for all layers at once.