Small Image Tools

potrace – transforming bitmaps into vector graphics

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
RembgBackground segmentation tool using machine learning
imgpMulti-core batch image file resize and rotate
ExifToolRead, write and edit meta information
imagededupFind duplicate images
DurdrawASCII, Unicode and ANSI art editor
pstoeditPostScript and PDF files to editable vector graphics converter
potraceTransforms bitmaps into vector graphics
jheadManipulate the non-image part of Exif compliant JPEG files
CropGUIGraphical user interface for jpegtran
pngcrushOptimizer for PNG files. It's a command-line tool
PicsortTool for sorting images into folders
imagineerOffers image processing and conversion
Pictures ConverterConvert image formats

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments