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 |
| truss | Image transformation toolkit |
| slimg | Fast image optimization tool |
| Pictures Converter | Convert image formats |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.