I found a way to shrink the outputted svg from Spiral from image. I tweaked parameters in Inkscape for ages, saved optimised svgs, and none of it worked for me. I was getting 4MB+ svgs, and the processing console was giving lots of 'Ignoring <text> and ignoring <comments> messages. I thought that it was to do with the broken curves at the edge of the image, as losing those made the svgs import. So I put a white border around the edge of my image and it imported!
(1) Get the image you want, select all in the image editor of your choice.
(2) Shift-Scale the image down slightly, so there is a white, blank border that surrounds your image.
(3)Save as something different, then import into SpiralfromImage, and run as normal.
(4)Import into inkscape, and clear up the image by removing any stray arcs within the blank zone.
(5) select all, and then go to file > document properties. There should be a tab that says [+] resize page to content. Click this.
(6) Clean up the document, save as an optimized .svg.
(7) Import into the polargraph controller, enjoy.
I've found that you don't lose too much detail this way, and at least it imports. Thanks Krummrey for incredible code and Sandy for the tips.
|