Convert PNM to SVG
Turn PNM images into SVG. Traced into filled color shapes at the picture's own size, with clear areas left empty.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PNM files on the dialor turn it to pick what to do
PNM traced into SVG shapes.The picture becomes filled color shapes at its own size. Clear areas stay empty.
What you get
One SVG file made of filled color shapes. The shapes cover the picture at the same width and height as the PNM, so the size does not change.
Areas that are clear in the PNM are left empty in the SVG. Nothing is drawn there.
What traces well
Logos and flat graphics trace cleanly. The edges and color areas come out as clean shapes.
Small text and photos come out rough. If your PNM is a photo, expect a rough result.
When it stops
A file that cannot be parsed stops the conversion with
input_corrupted. The PNM itself is damaged or not a valid PNM file.For other conversions of this kind, see every PNM conversion or every SVG conversion.
PNM and SVG.What each format is.
The formats
Portable Anymap
Portable anymap images, the simplest raster format: PBM, PGM and PPM.
- Extensions
- .pnm .ppm .pgm .pbm
- MIME type
- image
/x -portable -anymap - Kind
- Images
SVG
Scalable vector graphics in XML. Logos, icons and diagrams that stay sharp at any size.
- Extensions
- .svg .svgz
- MIME type
- image
/svg +xml - Kind
- Images
In your code.The same PNM to SVG conversion through the API, for your app or your agent.
$ cv convert photo.pnm photo.svg$ cv convert photo.pnm photo.svgQuestions.What people ask about PNM to SVG.
Yes. The picture is traced at its own size, so the width and height stay the same.
It converts, but it comes out rough. Logos and flat graphics are the best fit.
Yes. PNM covers all three, and each is a portable anymap image.
They are left empty. The SVG draws no shapes there.