Last indexation completed on 2024-12-22 05:37:20 UTC

 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2024-02-11 01:56:32

POTRACE - transform bitmaps into vector graphics
* * *
DESCRIPTION
Potrace is a tool for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM, or BMP), and the output is one of several vector file formats. A typical use is to create SVG or PDF 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.


SEE ALSO: README

folder include/ - 2024-02-11 01:56:32  
file auxiliary.h 2146 bytes 2024-02-11 01:56:32 2024-12-22 04:04:07

This header file collects some general-purpose macros (and static inline functions) that are used in various places.

file backend_dxf.c 6826 bytes 2024-02-11 01:56:32 2024-12-22 04:04:08

The DXF backend of Potrace.

file backend_dxf.h 377 bytes 2024-02-11 01:56:32 2024-12-22 04:04:08  
file backend_eps.c 20872 bytes 2024-02-11 01:56:32 2024-12-22 04:04:08

The Postscript backend of Potrace. This can produce "ps" or "eps" output, and different kinds of graphical debugging output. Postscript compression is optionally supplied via the functions in flate.c.

file backend_eps.h 496 bytes 2024-02-11 01:56:32 2024-12-22 04:04:08  
file backend_geojson.c 5320 bytes 2024-02-11 01:56:32 2024-12-22 04:04:08

The GeoJSON backend of Potrace.

file backend_geojson.h 381 bytes 2024-02-11 01:56:32 2024-12-22 04:04:08  
file backend_pdf.c 9684 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09

The PDF backend of Potrace. Stream compression is optionally supplied via the functions in flate.c.

file backend_pdf.h 572 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09  
file backend_pgm.c 2577 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09

The PGM backend of Potrace.

file backend_pgm.h 396 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09  
file backend_svg.c 8788 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09

The SVG backend of Potrace.

file backend_svg.h 447 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09  
file backend_xfig.c 6414 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09

The xfig backend of Potrace.

file backend_xfig.h 381 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09  
file bbox.c 4322 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09

figure out the true bounding box of a vector image

file bbox.h 454 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09  
file bitmap.h 6450 bytes 2024-02-11 01:56:32 2024-12-22 04:04:09  
file bitmap_io.c 20670 bytes 2024-02-11 01:56:32 2024-12-22 04:04:10

Routines for manipulating bitmaps, including reading pbm files.

file bitmap_io.h 631 bytes 2024-02-11 01:56:32 2024-12-22 04:04:10

bitmap input/output functions

file bitops.h 1767 bytes 2024-02-11 01:56:32 2024-12-22 04:04:10

bits.h: this file defines some macros for bit manipulations. We provide a generic implementation, as well as machine- and compiler-specific fast implementations

file curve.c 2693 bytes 2024-02-11 01:56:32 2024-12-22 04:04:10

private part of the path and curve data structures

file curve.h 2782 bytes 2024-02-11 01:56:32 2024-12-22 04:04:10  
file decompose.c 14626 bytes 2024-02-11 01:56:32 2024-12-22 04:04:10  
file decompose.h 442 bytes 2024-02-11 01:56:32 2024-12-22 04:04:10  
file flate.c 8959 bytes 2024-02-11 01:56:32 2024-12-22 04:04:11

the PostScript compression module of Potrace.

file flate.h 550 bytes 2024-02-11 01:56:32 2024-12-22 04:04:11  
file getopt.c 29575 bytes 2024-02-11 01:56:32 2024-12-22 04:04:11

This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>. Ditto for AIX 3.2 and <stdlib.h>.

file getopt1.c 3774 bytes 2024-02-11 01:56:32 2024-12-22 04:04:11  
file greymap.c 25114 bytes 2024-02-11 01:56:32 2024-12-22 04:04:12

Routines for manipulating greymaps, including reading pgm files. We only deal with greymaps of depth 8 bits.

file greymap.h 2740 bytes 2024-02-11 01:56:32 2024-12-22 04:04:12  
file libpotrace-export.sym 90 bytes 2024-02-11 01:56:32 -  
file lists.h 11118 bytes 2024-02-11 01:56:32 2024-12-22 04:04:12  
file lzw.c 11022 bytes 2024-02-11 01:56:32 2024-12-22 04:04:12

code for adaptive ompression, as used in PostScript.

file lzw.h 2376 bytes 2024-02-11 01:56:32 2024-12-22 04:04:12  
file main.c 39392 bytes 2024-02-11 01:56:32 2024-12-22 04:04:13  
file main.h 3722 bytes 2024-02-11 01:56:32 2024-12-22 04:04:13  
file Makefile.am 2262 bytes 2024-02-11 01:56:32 2024-12-22 04:04:13  
file Makefile.in 31623 bytes 2024-02-11 01:56:32 2024-12-22 04:04:13  
file mkbitmap.c 21305 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14 a standalone program for converting greymaps to bitmaps
file platform.h 1009 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14

this header file contains some platform dependent stuff

file potracelib.c 3122 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14  
file potracelib.h 4573 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14  
file potracelib_demo.c 3966 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14

A simple and self-contained demo of the potracelib API

file progress.h 2654 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14

operations on potrace_progress_t objects, which are defined in potracelib.h.

file progress_bar.c 5703 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14

functions to render a progress bar for main.c. We provide a standard and a simplified progress bar.

file progress_bar.h 734 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14

functions to render a progress bar for main.c. We provide a standard and a simplified progress bar.

file render.c 6985 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14  
file render.h 742 bytes 2024-02-11 01:56:32 2024-12-22 04:04:14  
file trace.c 32392 bytes 2024-02-11 01:56:32 2024-12-22 04:04:15

transform jaggy paths into smooth curves

file trace.h 397 bytes 2024-02-11 01:56:32 2024-12-22 04:04:15  
file trans.c 3019 bytes 2024-02-11 01:56:32 2024-12-22 04:04:15

calculations with coordinate transformations and bounding boxes

file trans.h 1174 bytes 2024-02-11 01:56:32 2024-12-22 04:04:15