SvgTracing (svg_tracing v0.1.2)

An open source software to convert raster images (like jpg & png) into vector graphics (svg). It can vectorize graphics and photographs and trace the curves to output compact vector files. This is backed by rust (vtracer) using rustler.

iex> SvgTracing.trace("priv/static/ikea-sofa.png", "priv/static/ikea-sofa.svg") {:ok, {}}

Summary

Functions

Convert images to vector graphics, this will need two paths, input image path and second output image path to save svg.

Functions

Link to this function

trace(input_path, output_path)

@spec trace(Toml.Lexer.String.t(), Toml.Lexer.String.t()) ::
  {:ok, {}} | {:error, Toml.Lexer.String.t()}

Convert images to vector graphics, this will need two paths, input image path and second output image path to save svg.