Free to use, no account

Bildevektoriserer

Gjør enkle logoer, ikoner og illustrasjoner med flate farger om til SVG-baner. Velg fargegrense og detaljnivå, forhåndsvis vektoren og last ned SVG-filen.

128

Den lengste siden reduseres til dette antallet piksler eller færre. Høyere detaljnivå kan gi en større SVG-fil.

Best egnet for enkle logoer, ikoner og tegninger med flate farger. Metoden følger pikselrutenettet; den glatter ikke ut kurver eller gjengir fotodetaljer.

Opptil 5 MiB per kildebilde. Bildet behandles lokalt og lastes ikke opp eller lagres automatisk. Store bilder kan bruke mye enhetsminne; en datamaskin anbefales.

Hvordan gjør jeg et bilde om til SVG?

Velg et rasterbilde, angi detaljnivå og antall farger, og opprett deretter SVG-filen. Verktøyet grupperer sammenhengende fargede piksler til ekte vektorbaner. Kantene følger det valgte pikselrutenettet, så flat grafikk fungerer bedre enn fotografier.

Veiledning

Slik bruker du image-vectorizer

Image Vectorizer traces a simple logo, icon or flat-color drawing into an SVG made of colored paths. You pick the detail size and the number of colors, preview the result and download it. It follows the pixel grid, so it draws no smooth curves and is not meant for photos.

Slik gjør du

  1. Choose a PNG, JPEG, WebP or GIF file of up to 5 MiB.
  2. Set the trace size (64, 128, 192 or 256 pixels on the longest side), the color limit (2, 4, 8, 12 or 16), the transparency threshold, and whether to merge matching runs.
  3. Press the create button, check the preview and the three statistics, then use Download SVG. The file is named vectorized-image.svg.

Eksempler

A blue block on a clear background

Du skriver inn
Piksler
4 x 4, left half opaque blue, right half fully transparent
Farger
4
Du får
Bane
M0 0h2v4h-2Z
Fyll
#0000ff
Farger brukt
1
Banedeler
1

Fully clear pixels are left out, so only the blue half becomes a shape. It is one rectangle two units wide and four tall. This was run on the tracing step with a raw pixel grid, without the browser's image decoding.

Kjørt med verktøyets egen kode.

Merging matching runs

Du skriver inn
Piksler
6 x 6, a black 2 x 2 square on a clear background
Slå sammen løp
ja; nei
Du får
Sammenslåing på
1 path section: M2 2h2v2h-2Z
Sammenslåing av
2 path sections, one per row

With merging on, the two rows of the square have the same start and end, so they join into one taller rectangle. With it off, each row stays its own section and the SVG gets longer.

Kjørt med verktøyets egen kode.

Reducing a gray stripe to two colors

Du skriver inn
Piksler
8 x 1, grays 0, 32, 64, 96, 128, 160, 192, 224
Farger
2
Du får
Palett
#303030; #b0b0b0
Banedeler
2

The eight grays split into a dark half and a light half. Each half takes the average of its members, 48 and 176, which are 30 and b0 in hexadecimal. Each half becomes a four unit wide block.

Kjørt med verktøyets egen kode.

Pixels that are too faint

Du skriver inn
Piksler
2 x 2, every pixel with alpha 100
Gjennomsiktighetsterskel
128
Du får
Resultat
No visible pixels remain. Lower the transparency threshold.

Pixels whose alpha is below the threshold count as empty. When all of them are empty there is nothing to trace, and the page shows its no-visible-pixels message.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Turn a small flat logo into scalable shapes for a quick mock-up.
  • Trace pixel art or one icon from a sheet into an SVG you can recolor.
  • Make a simple one-color shape from a dark drawing on a transparent background.

Begrensninger

  • The source file can be up to 5 MiB. The trace is at most 256 pixels on the long side (65,536 pixels in all), with at most 16 colors and 32,768 path sections. The picture is scaled down first and never up.
  • Shapes follow the pixel grid with square corners. Curves turn into steps, and photos give blocky results and large SVG files.
  • Colors come from an automatic reduction of the picture, so the traced colors can differ from the originals. Always compare the preview with your source. Pixels below the transparency threshold are left empty, and partly clear ones are blended with white.

Tips

  • Start with a high-contrast picture that has few colors and a transparent background for the cleanest trace.
  • If a color looks off, try a different color limit and compare the preview with your source.
  • Keep merging on to reduce file size, and turn it off only if you want one rectangle per row.

Vanlige spørsmål

Does the SVG contain my original image?

No. The result holds only colored path shapes, not an embedded copy of the picture. It approximates the source by grouping pixels into a few colors and joining them into rectangles.

Will it vectorize a photograph smoothly?

No. The pixel-grid trace is made for simple logos, icons and flat-color drawings. A photograph gives blocky edges and a very large SVG, and may stop with a too-many-path-sections message.

What does the transparency threshold do?

It runs from 0 to 255 and starts at 128. Pixels whose alpha is below it are treated as empty. Pixels at or above it are traced after being blended with white.

What does merging matching runs do?

It joins neighbouring rows that have the same color and the same start and end into one taller rectangle. That gives fewer path sections and a smaller SVG, with the same shape on screen.

Is my image uploaded or saved?

No. The image is decoded and traced in this browser tab, and it is not uploaded or saved automatically. Large images can use a fair amount of memory on a weak device.

Why do I see a too-many-path-sections message?

The tool stops at 32,768 path sections. Lower the trace size, use fewer colors or choose simpler artwork with large flat areas, and try again.

Kilder

Ofte stilte spørsmål

Hvordan gjør jeg et bilde om til SVG?

Velg et rasterbilde, angi detaljnivå og antall farger, og opprett deretter SVG-filen. Verktøyet grupperer sammenhengende fargede piksler til ekte vektorbaner. Kantene følger det valgte pikselrutenettet, så flat grafikk fungerer bedre enn fotografier.

Lastes bildet mitt opp?

Nei. Bildet dekodes og spores i denne nettleserfanen. Det lastes ikke opp eller lagres automatisk.

Inneholder SVG-filen det opprinnelige bildet?

Nei. Resultatet inneholder SVG-former som baner, ikke et innebygd rasterbilde. Det tilnærmer seg originalen ved å gruppere piksler i farger og baner.

Vektoriserer dette et fotografi jevnt?

Nei. Sporing på pikselrutenett er ment for enkle logoer, ikoner og tegninger med flate farger. Fotografier kan få hakkete kanter og store SVG-filer.

Laster verktøyet opp eller beholder bildet mitt?

Nei. Kilden behandles i denne fanen og lastes ikke opp eller lagres automatisk. Behandlingshastighet og minnebruk avhenger av enheten din.