I've been playing with the new --verb and --select command line options available in Inkscape 046. Very cool! However, I haven't been able to figure out how to control certain functions like "trace bitmap".
 
I'd like to do the following operations in order at the command line:
 
Import a bitmap file
Select the imported bitmap
Trace it using a custom threshold setting
Delete the imported bitmap
Select the resultant path
Fit page to selection
Save to Inkscape SVG
 
So far, I've only been able to import the bitmap and select it using the following command line entry:
 
"C:\(full path to inkscape)\inkscape.exe" --verb=FileImport "C:\(full path)\testimg.png" --verb=EditSelectAll verb=SelectionTrace
 
Running this command causes the inkscape gui to start, import the png, and select it. However, it won't trace the image. All it does it open the "trace bitmap" dialog. Another weird thing is that the "select file to import" dialog remains open even after the image import is complete. Is that normal, and how do I close it via the command line?
 
Any help would be greatly appreciated. BTW, I'm using the win32 build.
 
Thanks,
 
mb


Need a vacation? Get great deals to amazing places on Yahoo! Travel.