RobA wrote:
@dinasset-
The issue is that zebratrace requires a raster input (png or jpg) and generates a vector (svg) output. I'm using the gimp pdb calls to save a layer as a raster file and and then reload the same raster file as a new layer. Not sure how Rod got it to work, as I can't export a file as SVG in the version of gimp I am using (it has to be exported from the export path menu, which uses a different pdb call (gimp-vectors-export-to-file), unless it actually saved it as a png file with an svg extension that was readable by zebratrace..... not really sure.
Potentially shellout could be changed to allow an additional parameter, which could be used to specify the input file format for loading back in the layer, but it would be "icky" in that a whole bunch of checks would have to be done and the user would have to ensure the proper filename in the proper location was used, etc.
-Rob A>
This is exactly what Shellout is doing on my end. It takes a dup layer or visible and exports to ZebraTrace. I edit the file in ZT and go to File>save as. ZT opens the directory where Shellout puts the temp file. Then i just overwrite the temp svg file Shellout creates and then i close ZebraTrace. The file is sent back to GIMP as the top layer and the Temp svg is removed.

I know nothing of magic.
I am basically fooling ZT into thinking it is saving a SVG file.
I have absolutely no idea why it doesn't work for you guys too. It should by just adding that line of code.