Sign up free
Documentation
Type to search. Use the down arrow to browse results, or Escape to close them.

File limits

Prepare an image that fits the upload and image-size limits before sending a request.

Browser and API limits

The dashboard’s browser engine processes the image on your device. The API sends it to the server for conversion. Choose the engine first, then validate against its input limits.

Requirement Dashboard browser engine Server API
Input PNG, JPG, GIF, BMP or WebP PNG, JPG, GIF, BMP or WebP
File size Up to 10 MiB (10,485,760 bytes) Up to 10 MiB (10,485,760 bytes)
Total pixels Up to 4,000,000 Up to 4,000,000
Longest side Up to 4,096 pixels Up to 4,096 pixels
Processing On your device On Vectali’s server
Result Raster preview of the SVG; SVG, PDF, EPS and DXF downloads SVG in JSON; other formats through the file endpoint

For the API, send exactly one file in the multipart image field. The returned SVG document must fit within 8 MiB (8,388,608 bytes), before JSON encoding. See the endpoint reference for authentication and response details.

API plans include 500–100,000 successful conversions per billing period. See pricing for monthly totals and per-image rates. In-flight requests reserve an allowance; unsuccessful conversions release it. API usage and browser export allowances are separate.

The server checks image bytes, rather than trusting the filename extension. Renaming another format to .png does not make it a PNG.

Local previews and exports

Browser conversions stay on your device while you preview them. The comparison and path inspector display PNG images up to 1,024 pixels on the longest side; tracing still uses your original image. The downloaded vector retains its full paths, gradients and transparency.

Sign in to download, copy or open the SVG source using your existing free exports, credits or Web Pro allowance. If you need to sign in or add allowance, keep the preview tab open and retry the export afterward. Repeating an authorized export or choosing another format for the same preview does not spend another allowance. Uploading the image again starts a new conversion.

In the dashboard, enabling history saving uploads the original image and SVG after an authorized browser export. Until then, keep the tab open: an unexported preview is not saved to your account. API conversions are saved when the server finishes them. Previously saved conversions remain available.

Prepare your image

Use the clearest original you have. Crop unnecessary canvas space, preserve transparent backgrounds when you have them, and keep the artwork at a useful resolution. Enlarging a small image does not restore missing detail.

Pixel count is width × height. A 2,000 × 2,000 image contains 4,000,000 pixels and reaches both the browser and API limit. Other aspect ratios fit when their total area stays within that limit and neither side exceeds 4,096 pixels. Send the original unchanged when it fits; resizing can lose small details.

The browser and API use the same Rust conversion core. Browser conversion decodes the original PNG, JPG, GIF, BMP or WebP in WebAssembly, without resizing it for tracing. The dashboard’s color-count setting applies to browser conversions; the API selects colors automatically. Matching automatic settings produce matching output for the tested fixtures.

Browser conversion runs in a background worker and can be canceled. Complex images can exceed the browser engine’s memory or time budget even when they fit the input limits. If that happens, crop or resize the source and try again. Inspect thin strokes and small lettering in the result.

Validate an API upload

Client validation can give someone useful feedback before the request starts. This example targets the server API limits. The server still validates the file, so your application must also handle its error response.

const MAX_BYTES = 10 * 1024 * 1024;
if (file.size > MAX_BYTES) {
  throw new Error("Choose an image no larger than 10 MiB.");
}

const bitmap = await createImageBitmap(file);
const pixels = bitmap.width * bitmap.height;
const longestSide = Math.max(bitmap.width, bitmap.height);
bitmap.close();
if (pixels > 4_000_000 || longestSide > 4_096) {
  throw new Error("Use at most 4,000,000 pixels and 4,096 pixels per side.");
}

The API returns 422 image_dimensions for an image outside its dimension limits, before reserving conversion quota.

A limit is not an output guarantee

An accepted input may still contain photographic detail, soft shadows, or very small text that does not translate well into shapes. Inspect the result at its intended size before using it in a final deliverable.

Export formats and animation

Animated GIF and WebP inputs convert the first frame only, on the full image canvas. Vectali does not export vector animations.

  • SVG: editable vector paths, color, gradients and transparency; the canonical saved result.
  • PDF: vector paths, gradients, masks and transparency. Page dimensions use 96 source pixels per inch.
  • EPS: Level 3 vector paths and linear/radial gradients, on a white matte. Semitransparent colors are blended with white; overlaps may look different. Mesh/grid paints become a representative solid color. Use SVG or PDF when preserving those effects matters.
  • DXF: closed CAD outline polylines, including holes and clipping. Curves are approximated within 0.05 source pixels. Coordinates use millimeters at 96 source pixels per inch; there are no fills, gradients or transparency. Shared edges can occur more than once across colored shapes: check scale, duplicates and tool paths in your CAD software before fabrication.

The canonical SVG is limited to 8 MiB. PDF, EPS and DXF exports are limited to 64 MiB. Choosing another format for the same conversion does not consume another conversion or browser export allowance. Preparing a browser export happens before claiming its allowance.

A useful next step? Read the journal