Conversion steps
- 01
Prepare the source file
Keep a copy of the original JPG file. Check that it opens and that you have permission to process it.
- 02
Use the corresponding engine
Install Potrace on your device, then replace the input and output paths in the example. The command runs locally.
- 03
Check the output
Open the SVG file in a compatible app and check the content, pagination, and resources.
Compatibility
The photo turn path changes the details. But you can use the Portrace profile as a black and white contour; this process does not claim to retain all colours and textures of the photograph.
This page is a conversion guide and does not represent an engine that is already embedded in Formatio.
Examples of local commands
magick input.jpg -threshold 50% input.pbm
potrace input.pbm -s -o output.svgcommand only the local path you specify. Please install the corresponding tool first and avoid overlaying the original file.
About these formats
JPG
.jpg / .jpegCommon photo format; impaired compression and no transparent access.
SVG
.svgUse vector graphics described by path, shape and text.