i'm going to be importing 1000+ png images into inkscape (in 10-20 images at a time), and the "jpg GDK pixbuf Input" (embed vs link) dialog box is starting to hurt my enter finger, is there some way to bypass this dialog box when importing a bunch of images?
then after that i'm planning on saving to pdfs (again thousands of times), to bypass the "portable document format" dialog and just use the default action when saving to a pdf would save me ever more thousands of finger clicks and seconds of my life.
also is there a way to automatically count up each successive save file, (1.pdf, 2.pdf, 3.pdf, 4.pdf, etc.) so i don't have to type the number myself?
anyone know how to do these things? i couldn't find any info on it, and didnt see any options under inkscape preferences.
bypassing excessive dialog boxes with a default action
-
VanGoGhetMeSumCoffee
- Posts: 2
- Joined: Thu Dec 29, 2011 2:49 am
Re: bypassing excessive dialog boxes with a default action
Have you looked at Inkscape Batch?
I don't know if it will do exactly what you want, but it's worth a look.
http://sourceforge.net/projects/inkscapebatch/
I don't know if it will do exactly what you want, but it's worth a look.
http://sourceforge.net/projects/inkscapebatch/
Re: bypassing excessive dialog boxes with a default action
Currently, there is no way to avoid that dialog (a feature request has already been filed in the bug tracker).VanGoGhetMeSumCoffee wrote:i'm going to be importing 1000+ png images into inkscape (in 10-20 images at a time), and the "jpg GDK pixbuf Input" (embed vs link) dialog box is starting to hurt my enter finger, is there some way to bypass this dialog box when importing a bunch of images?
Again, not avoidable when using Inkscape's GUI to save a copy as PDF. IIRC the dialog is not available (thus no need to be suppressed) when using the command line option to convert an SVG file into a PDF file:VanGoGhetMeSumCoffee wrote:then after that i'm planning on saving to pdfs (again thousands of times), to bypass the "portable document format" dialog and just use the default action when saving to a pdf would save me ever more thousands of finger clicks and seconds of my life.
Code: Select all
inkscape -f drawing.svg -A FILENAME.pdfCode: Select all
inkscape --file=drawing.svg --export-pdf=FILENAME.pdfNot natively - usually such stuff is handled in a shell script (or batch file if you work on Windows) to e.g. export all files in a directory and create consecutively numbered FILENAMEs in a loop calling inkscape as shown above (replace FILENAME with a variable (composed by a basename and a number) and increase the number (integer) by 1 with each loop).VanGoGhetMeSumCoffee wrote:also is there a way to automatically count up each successive save file, (1.pdf, 2.pdf, 3.pdf, 4.pdf, etc.) so i don't have to type the number myself?
-
VanGoGhetMeSumCoffee
- Posts: 2
- Joined: Thu Dec 29, 2011 2:49 am
Re: bypassing excessive dialog boxes with a default action
ah i should've mentioned i'm on linux, inkscape batch looks like it is only available for windows.
that solves my second part, i can save as svg and bulk convert
only.. can i bulk convert from command line, or do i have to run a script which repeats the same command over and over for each file? or i guess i could always just do a quick save and change the output pdf name in the command and bash history should remember it after the first cycle then a down arrow should work... i think... bulk renaming would probably be quicker though still.
since i can't avoid the import image dialog, is there another svg program i could use just to quickly embed the images to be worked with in an svg that i could open them all at once in inkscape (to hopefully avoid that dialog box)? that might save some time still.
Code: Select all
inkscape -f drawing.svg -A FILENAME.pdfthat solves my second part, i can save as svg and bulk convert
since i can't avoid the import image dialog, is there another svg program i could use just to quickly embed the images to be worked with in an svg that i could open them all at once in inkscape (to hopefully avoid that dialog box)? that might save some time still.