User Tools

Site Tools

Site Tools

Vectorial format manipulation

Vectorize image

To vectorize an image, see potrace for command line vectorization :
Or Inkscape (Path −> Trace bitmap) for more arguments and colors.

Vectorize video

Rather simple, I have done it on a flame video and it worked like a charm :

  1. Extract all frames from the video to png (lossless, avoid jpg)
  2. If needed, apply a filter on these images (mogrify, own program, etc)
  3. Use a bash loop to potrace all these images into png with high resolution
  4. Encode the new video with these new png.

Done, the video is now vectorized.