---
title: "Vectorize image animated icon"
description: "Vectorize image animated icon (Vector editing & design). Convert a stair-stepped raster silhouette to a smooth editable vector curve. Light: the stepped edge resolves into the curve. Strong: the pixels spread slightly before a quick trace. Reverse restores the visible raster silhouette."
canonical: https://generativeicons.com/icons/vectorize-image/
---

# Vectorize image animated icon

Convert a stair-stepped raster silhouette to a smooth editable vector curve. Light: the stepped edge resolves into the curve. Strong: the pixels spread slightly before a quick trace. Reverse restores the visible raster silhouette.

- Id: `vectorize-image`
- Category: Vector editing & design
- Search terms: image trace, live trace, trace bitmap, raster to vector, bitmap to vector, convert to vector, auto trace, vector trace, png to svg, jpg to svg, svg converter, tracing
- Two states: Raster silhouette to Vector silhouette, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/vectorize-image.lottie (dotLottie, 10016 bytes, sha256 291e0675adfa830668a5a429080375fbc5b721007401f3f4599c177d9bd36026)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add vectorize-image
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/vectorize-image.mjs';

export function VectorizeImageIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/vectorize-image.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/vectorize-image/ · https://generativeicons.com/api/icons/vectorize-image
