@hackage / potrace

Trace bitmap images to paths using potrace

Latest0.1.0.0

About

Metadata

  • Last updated , by cchalmers
  • License GPL-2.0-only
  • Categories Graphics
  • Maintained by: c.chalmers@me.com

  • Lottery factor: 0

Links

Installation

Readme

potrace

Mid-level bindings to the potrace library tracing a bitmap image to vector paths. Contains helpers for converting JuicyPixel images to bitmaps.

Uses bindings-potrace which is not yet on Hackage.

See potrace-diagrams for creating diagrams from bitmap images.

potrace-bindings installation

mac

With homebrew:

brew install potrace

cabal may complain about not finding the potrace library. In which can you can add the --extra-lib-dirs=/usr/local/lib --extra-include-dirs=/usr/local/include flags when cabal installing.