potrace is an open source utility for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM, or BMP format), and the default output is an encapsulated PostScript file (EPS).
A typical use is to create EPS files from scanned data, such as company or university logos, handwritten notes, etc. The resulting image is not “jaggy” like a bitmap, but smooth. It can then be rendered at any resolution.
potrace can produce the following output formats: EPS, PostScript, PDF, SVG (scalable vector graphics), Xfig, Gimppath, and PGM (for easy antialiasing).
A separate program, mkbitmap, is also provided. This program can act as a pre-processor for Potrace, applying scaling and various filters to an image before converting it to a bitmap. This is useful for potracing greyscale and color images. There are several front-ends for potrace.
Key Features
- Reads bitmaps in the following formats: PBM, PGM, PPM as well as BMP.
- Outputs to the following formats: EPS, PostScript, PDF, SVG, DXF, PGM, Gimppath, and XFig.
Website: potrace.sourceforge.net
Support: Man page
Developer: Peter Selinger
License: GNU General Public License v2.0
potrace is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Small Image Tools | |
|---|---|
| Rembg | Background segmentation tool using machine learning |
| imgp | Multi-core batch image file resize and rotate |
| ExifTool | Read, write and edit meta information |
| imagededup | Find duplicate images |
| Durdraw | ASCII, Unicode and ANSI art editor |
| pstoedit | PostScript and PDF files to editable vector graphics converter |
| potrace | Transforms bitmaps into vector graphics |
| jhead | Manipulate the non-image part of Exif compliant JPEG files |
| CropGUI | Graphical user interface for jpegtran |
| pngcrush | Optimizer for PNG files. It's a command-line tool |
| Picsort | Tool for sorting images into folders |
| imagineer | Offers image processing and conversion |
| Pictures Converter | Convert image formats |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

