In short.
image-to-svg is a Claude skill for designers and developers who want SVG reproductions of existing images, but its approximate tracing needs visual inspection. The supplied version 1.9.0 implements color clustering, contour extraction, a separate line-and-fill route and palette batches. Its code differs from the guide on automatic routing, curve fitting and batch behavior. The separate flowing dependency is required; successful installation, output fidelity and performance are not established by execution evidence.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete supplied image-to-svg folder: SKILL.md, CHANGELOG.md, scripts/pipeline.py, scripts/lines.py and scripts/nn_assign.c at revision cf29075086f8f00dbcf90aabc592cdc82424c179, together with the repository-root LICENSE notice. The remaining claude-skills repository, the separate flowing implementation, third-party dependency code and host-service behavior are outside scope. Installation, conversion output, rendering, performance and concurrency were not assessed through execution.
The overview
identity
The resource is the image-to-svg folder in oaustegard/claude-skills, published at [https://github.com/oaustegard/claude-skills/tree/main/image-to-svg]. It contains assistant instructions, a changelog, two Python modules and an optional C acceleration helper.
SKILL.md declares version 1.9.0. The supplied files are pinned to source revision cf29075086f8f00dbcf90aabc592cdc82424c179. The conversion implementation uses conventional image processing; no generative model call appears in the supplied scripts.
assessment
The design suggests a useful fit for stylized reproductions, configurable tracing and families of differently colored SVGs. It offers substantial control over color count, background treatment, detail filtering and strokes. Suitability for exact artwork reproduction or precision technical drawings is unassessed.
The guide reports roughly 2.6 times smaller SVG output from compact emission, including a Starry Night example reduced from 3.64 MB to 1.35 MB. It also claims approximately 27 times faster nearest-center assignment with the C helper. These are author-reported figures; the supplied evidence contains no underlying benchmark logs or rendered artifacts establishing general performance.
users
Designers and illustrators may find it useful for converting photographs, paintings, flat graphics and line drawings into adjustable vector reproductions. Developers can call its Python API directly and incorporate the resulting SVG strings into another workflow.
Beginners need an environment that can install Python dependencies and provide the sibling flowing skill. Experienced developers gain access to intermediate shapes and configurable extraction parameters, but must account for shared configuration and batch limitations. Creating original SVG artwork from a text description is outside the skill's stated purpose.
capabilities
Four presets control extraction: graphic, illustration, painting and photo. Their default K values are 28, 40, 56 and 64 respectively; K is the number of color clusters, not the number of SVG shapes. Users can override these values and other detail filters.
The API supports named or custom palettes, background controls, output dimensions and coordinate precision. The compositional route separates fills from strokes and exposes stroke width, opacity, curve merging, blur and dash controls. Optional ImageMagick smoothing reduces texture before tracing.
The batch API produces multiple variants from shared extracted shapes. Compact SVG emission uses scoped color classes, relative path coordinates and merging of consecutive compatible shapes with the same color.
Using it
requirements
The documented Python dependencies are opencv-python-headless, scikit-image, scipy and scikit-learn. The scripts also import NumPy. The separate flowing workflow runner is mandatory: pipeline.py imports it from a sibling flowing/scripts directory, whose contents are outside the supplied folder.
ImageMagick is optional for oilpaint and kuwahara preprocessing. GCC is optional for compiling nn_assign.c; the code provides a NumPy fallback. Compilation writes a binary beside the C source. The guide's rendering example requires rsvg-convert from librsvg2-bin and Pillow.
Supported Python versions, dependency version combinations, minimum hardware and cross-platform compatibility are unknown. The installation examples use pip and apt-get, so the documented system-package route assumes an environment permitting those installations.
mechanism
The fill pipeline smooths the source and learns K RGB color centers with MiniBatchKMeans from a 600-pixel-wide copy. It assigns full-resolution pixels to their nearest center, estimates background clusters from contact with image borders, extracts and simplifies contours, and places larger shapes behind smaller ones. Matching fill-colored strokes cover seams between regions.
The compositional route first isolates dark thin features, reduces them to centerlines and detects straight segments with a Hough transform. It merges segments, measures their widths and samples their colors. It then replaces detected line regions with estimated background, extracts fills from that cleaned image and layers strokes above the fills.
In the supplied public API, pipeline='auto' routes by the chosen mode: graphic selects compositional; illustration, painting and photo select fill-only. The image classifier present in lines.py is not called on this route. Compositional processing also enables Bézier fitting of detected segment chains by default.
setup
Obtain the original image-to-svg folder at the pinned revision and provide the separate flowing skill as a sibling directory. Install the documented Python dependencies, make image-to-svg/scripts importable and import image_to_svg from pipeline. The guide's /mnt/skills/user/image-to-svg/scripts path is an environment-specific example.
Add ImageMagick only if its smoothing options are needed, and install the rendering dependencies for visual comparison. The supplied folder has no dependency lockfile or complete portable installer. Compatibility with the separate flowing implementation remains unknown.
example
A source-derived photo example is svg, flow = image_to_svg('photo.jpg', mode='photo', K=32, pipeline='fill'). Save the returned svg string to a file. K=32 overrides the photo preset's 64 color clusters, trading tonal detail for a coarser representation. This example was not executed.
For a line drawing, svg, flow = image_to_svg('drawing.png', mode='graphic', pipeline='compositional', stroke_merge=False) explicitly selects separate stroke and fill extraction while disabling the default curve fitting. Render the saved SVG and compare thin lines, curves and background regions with the source before accepting the result.
Assessment & evidence
limitations
The guide acknowledges gradient banding, degradation of very fine crosshatching, fragmented rings and incorrect merging of nearby parallel lines. The line detector starts from straight segments; later curve fitting does not establish faithful tracing of arbitrary curved strokes. The emitted SVG always includes a filled background rectangle, including when bg_clusters=0.
Batch behavior has narrower controls than separate conversions. Groups are formed solely by K, with shared smoothing, background detection and contour extraction settings. The first variant supplies smoothing and dark_lum, while the first non-null background override is shared. Batch extraction is fill-only, including for graphic variants.
Two further source-level concerns affect integration. Configuration lives in a module-wide _cfg dictionary, so simultaneous calls may interfere. The compositional route also applies palette mapping during its intermediate fill assembly and again during final assembly, which could alter intended colors. Neither concern has an observed execution result in the supplied evidence.
reasoning
Its practical appeal is extracting geometry from actual pixels and exposing the decisions that change detail, palette and output size. Shared geometry is particularly useful when color variants should retain the same shapes. These design properties support considering it for stylized conversion; they do not establish visual fidelity.
The guide and implementation disagree in consequential places. The guide describes image-based automatic routing and advises against unsolicited Bézier smoothing, while the code routes by mode and enables curve merging for compositional conversion. Explicit parameters and rendered comparisons are therefore important when reproducible behavior matters.
alternatives
Within this resource, fill-only extraction is the simpler option for photographs and paintings. Compositional extraction adds a separate stroke layer for line-heavy images. Palette remapping offers a stylized alternative to retaining extracted colors.
The supplied files do not document or benchmark competing converters, so comparative quality, pricing and ease of use are unknown. For work requiring deliberately constructed curves, editable objects or exact technical geometry, compare a manual vector-redrawing workflow or another tracing tool using the same source image. No comparative advantage is established here.
evidence
The source basis comprises SKILL.md, CHANGELOG.md, scripts/pipeline.py, scripts/lines.py and scripts/nn_assign.c, plus the repository's root LICENSE. The pinned instructions are available at [https://raw.githubusercontent.com/oaustegard/claude-skills/cf29075086f8f00dbcf90aabc592cdc82424c179/image-to-svg/SKILL.md].
The instructions describe intended use and author-reported measurements; the scripts establish implementation details and documentation differences. No code was executed. No generated SVGs, rendered comparisons, installation receipts or benchmark logs are supplied, so successful setup, visual quality, robustness and performance remain unassessed.
Access & freshness
costs
The supplied MIT notice grants software permissions free of charge. Total operating cost is unknown: no Claude subscription requirement, hosted-service price, API billing schedule or compute-cost measurement is supplied.
The conversion scripts perform local processing and show no model API calls. Optional smoothing and compilation invoke local programs. Processing time and memory requirements depend on the image and settings, but no verified estimates are available for planning capacity or per-image cost.
rights
The supplied repository-level MIT licence identifies Copyright (c) 2025 Oskar Austegard. It permits use, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It also disclaims warranties and liability.
That software permission does not establish rights to reproduce a particular photograph, painting or other input image. Licences for the separate flowing skill and third-party dependencies are not included in the supplied evidence.
freshness
The declared version is 1.9.0, and its supplied changelog entry is dated 23 October 2026. The source snapshot was captured on 17 November 2026 at 09:47:56 UTC from revision cf29075086f8f00dbcf90aabc592cdc82424c179. Changes after that revision are unknown. The single supplied changelog entry does not establish a complete release history or current dependency compatibility.
actions
Before adopting the skill, confirm that flowing and the required image-processing packages are available. Start with a representative image and choose the pipeline explicitly. Inspect a rendered comparison for lost facial features, broken curves, merged parallel lines, background mistakes and gradient banding.
For palette batches, keep structural settings consistent within each K group; use separate conversions when smoothing or background treatment must differ. Check compositional palette behavior before relying on precise colors, and assess concurrent use before integrating multiple calls into one process. Retain the original source revision and MIT notice with redistributed files.
