Functionsยง
- convert_
file_ to_ svg - Reads the image at
pathand converts it to an SVG string usingrgba_image_to_svg_contiguous. - rgba_
image_ to_ svg_ contiguous - Converts an
RgbaImageto an SVG string by finding contiguous regions of identical RGBA color and emitting one compact SVG path per color.