Small icon, tracing size
- Input
- 64 x 64 px
- Expected output
- 256 x 256 px
Enlarged 4 times, the maximum. The SVG declares 64 x 64.
convert png to svg
Upload the PNG and the tool keeps the transparency: what was empty stays empty in the SVG, with no background shape. The thing to watch is the alpha channel, which here becomes all or nothing.
Enlarged 4 times, the maximum. The SVG declares 64 x 64.
Scaled down to stay under 1 megapixel. The SVG is still scalable.
From 128 up the pixel counts as opaque (255); below that, as empty (0).
255 x (1 - 128/255) = 127. It then enters the palette like any color.
900 divided by 512 is 1.75; rounded down, factor 1, no enlargement.
Upload the image, pick the type (Logo works for most cases) and download the SVG. The conversion is a trace: the tool reduces the colors, follows the outline of every region and writes shapes instead of pixels. It is not just wrapping the PNG inside an SVG file, which would still be a picture made of pixels.
No. Tracing works with solid-color shapes, so transparency becomes all or nothing: alpha from 128 up is opaque, below that is empty. Soft shadows and translucent glows lose their gradation. If you need them, PNG remains the right format.
The SVG width and height repeat the size of the original file, while the viewBox uses the tracing size, which may have been enlarged or reduced. The browser scales the coordinates by itself, so the drawing shows at the original size and stays sharp at any other.
It depends on the content. An interface with flat colors and few fonts traces reasonably well. Small text becomes shapes, not editable text, and loses sharpness at low sizes. For text, it is better to redo it with the original font.
Tracing works best on logos, icons and flat art. Photos turn into a posterized version, like a poster print.