When you are clicking on multiple objects and selecting "Export png Image" > "Batch Export tickbox" > "Export" is there a way to choose the directory path for all images exported via batch export from that one svg file?
Any ideas?
Using latest Ubuntu linux with Inkscape .92
How to set default png export path for all images exported as batch from one svg file
-
- Posts: 96
- Joined: Tue Oct 21, 2014 1:40 pm
- Location: Australia
Re: How to set default png export path for all images exported as batch from one svg file
Wow! Since I never have used this feature, I just tested it. I'm really surprised that the dialog does not let you choose where you want the images to be exported.
It exports them to my user directory (in Windows, C:\Users\brynn). I thought that might be configurable in Inkscape Preferences > System, but I don't see it. Also don't see it in Inkscape Prefs > Bitmaps
I wonder if it would be possible to change it by manually editing preferences.xml ? If it is possible, I'd have to do some study to figure out exactly what to edit.
If there really is no way to specify the directory, I would suggest a feature request (if there is not one already). https://launchpad.net/inkscape
It exports them to my user directory (in Windows, C:\Users\brynn). I thought that might be configurable in Inkscape Preferences > System, but I don't see it. Also don't see it in Inkscape Prefs > Bitmaps
I wonder if it would be possible to change it by manually editing preferences.xml ? If it is possible, I'd have to do some study to figure out exactly what to edit.
If there really is no way to specify the directory, I would suggest a feature request (if there is not one already). https://launchpad.net/inkscape
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: How to set default png export path for all images exported as batch from one svg file
Yep. That's correct. Lol, I can even see where this would need to be fixed: export.cpp, line 1045 (in 0.92.x)... I would make it grab the directory from the field for the file name that is entered, instead of just deciding that there is no path, if the exported object itself does not have an export path set.
Can't fix it, though, but if someone wants to add that info to the report...
Can't fix it, though, but if someone wants to add that info to the report...
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: How to set default png export path for all images exported as batch from one svg file
I'm not sure what you mean about grabbing the directory from the field for the file name. Because as soon as I check the batch export option, the Save As button and field are both grayed out (along with everything else in the dialog, except for Export button). Not unless you're suggesting not to gray them out, and instead use them to define the directory?
As far as I can tell, this has not been either reported or requested. There is one bug with a title which sounds exactly like what this should be. But when you read it, it's really about something else.
I don't mind making the report, but I could only quote directly your message. I don't understand it well enough to explain what you mean.
Here it is: https://bugs.launchpad.net/inkscape/+bug/1787848
As far as I can tell, this has not been either reported or requested. There is one bug with a title which sounds exactly like what this should be. But when you read it, it's really about something else.
I don't mind making the report, but I could only quote directly your message. I don't understand it well enough to explain what you mean.
Here it is: https://bugs.launchpad.net/inkscape/+bug/1787848
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: How to set default png export path for all images exported as batch from one svg file
Yes, I'd make it use the directory that is indicated already, and I'd probably also use the file name from there, and append either the object id to it, or just a number.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
-
- Posts: 2
- Joined: Sat Sep 30, 2017 11:01 am
Re: How to set default png export path for all images exported as batch from one svg file
I am using Inkscape to create icons. Everytime I export one to png it sends me to the path /user/...blabla/
Inkscape stores the last file name, but if I ungroup, modify and then group, it forgets and returns to the default path /user/...blabla/
It will be very helpful if there is an option where I can specify the path where I want to export, because it is very tedious.
Inkscape stores the last file name, but if I ungroup, modify and then group, it forgets and returns to the default path /user/...blabla/

It will be very helpful if there is an option where I can specify the path where I want to export, because it is very tedious.
Re: How to set default png export path for all images exported as batch from one svg file
Mastermemorex wrote:... if I ungroup, modify and then group ...
You may have very good reasons for this workflow but, just in case you weren't aware, you can "enter" a group and make edits inside it; there's no need to ungroup every time. You can use the options at the bottom of the right-click context menu to go in and out of a group, but I prefer to just double-click on a group to enter it, and double-click outside the group to exit (or use the popup in the status bar at the bottom of the screen to jump back up to a specific level if you have nested groups).