autotrace batch processing
Hi.
I have been using Code:
autotrace input.png --output-file output.svg how do I convert more than one file at the time? I have 200 .png in one folder that I want to convert to .svg. Lars |
Should be quite easy:
Code:
for i in *.png; do Hope this helps, |
thank you Snark1994!
It worked fine. I am new to the command line, but I shall get into it more when I have some time. I am using it as an "effect" on a video, like this: Code:
ffmpeg -i fro.avi image%d.png Code:
for i in *.png; do autotrace "$i" -despeckle-level 14 --output-file "$(echo $i | sed 's/.png/.svg/')"; done Code:
for i in *; do rsvg-convert $i -o `echo $i | sed -e 's/svg$/png/'`; done Code:
ffmpeg -i image%d.png -vcodec huffyuv test.avi Thanks again! |
All times are GMT -5. The time now is 08:17 PM. |