Potrace
| Potrace | |
|---|---|
| File:Potrace logo.svg | |
| Developer | Peter Selinger |
| Initial release | 2001 |
| Stable release | 1.16[1]
/ September 17, 2019 |
| Repository |
|
| Written in | C |
| Engine | |
| Platform | Cross-platform |
| Type | Raster-to-vector conversion |
| License | Potrace: GPL-2.0-or-later, Potrace Professional: proprietary |
| Website | http://potrace.sourceforge.net |
Potrace (/ˈpoʊtreɪs/)[2] is cross-platform, open-source software which converts bitmapped images into vector graphics. It is written and maintained by Peter Selinger.
Properties
[edit | edit source]Various graphical frontends are available for the command-line application Potrace. Notably, it has been integrated with Inkscape, giving Inkscape its Trace Bitmap action.[3] FontForge can use Potrace to import a bitmap image into a font. Potrace is also used by the music engraving program LilyPond. An open-source progressive web app that uses Potrace is SVGcode.
Potrace's input and output is black and white (colored images are greyscaled before processing). However, Inkscape is capable of producing color images by decomposing each channel into several black and white images and tracing them separately with Potrace. The commercial Total Vectorize program also uses Potrace as its core.
Potrace is licensed under the GNU General Public License v2.0 or later. A non-GPL version of Potrace called "Potrace Professional" is available under license from Selinger's company, Icosasoft Software, Inc.[4]
Examples
[edit | edit source]-
Traced with Potrace in Inkscape to an eight-color SVG image in 2006 (50 KB)
-
Traced with Potrace in Inkscape to an eight-color SVG image in 2012 (336 KB)
-
Traced with Potrace in Inkscape to a twelve-color SVG image in 2012 (608 KB)
-
Traced with Potrace in Inkscape to a sixteen-color SVG image in 2012 (743 KB)
See also
[edit | edit source]Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
References
[edit | edit source]- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Dual licensing program for Potrace
Further reading
[edit | edit source]- Peter Selinger, Potrace: a polygon-based tracing algorithm, Sep 2003
- (in French) Elisa de Castro Guerra, Inkscape: Apprenez, pratiquez, créez, Pearson Education France, 2007, Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)., pp. 108–111
- Yannis Haralambous, Fonts & encodings, O'Reilly Media, Inc., 2007, Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)., pp. 500–501
- Karel Píška, Creating Type 1 Fonts from METAFONT Sources: Comparison of Tools, Techniques and Results in TeX, XML, and digital typography: International Conference on TeX, XML, and Digital Typography, held jointly with the 25th Annual Meeting of the TeX Users Group, TUG 2004, Xanthi, Greece, August 30 - September 3, 2004 ; proceedings, LNCS Volume 3130, Editor Apostolos Syropoulos, Springer, 2004, Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)., pp. 240–256, preprint
External links
[edit | edit source]- Official website on SourceForge
- Vince Vatter, How to make slides from handwritten notes using potrace
- Online version of Potrace ported with WebAssembly