Description
Trace bitmap images to paths using potrace.
Description
Trace bitmap images to paths using the potrace library. Helpers for generating bitmap images from functions or JuicyPixel images.
See potrace-diagrams for an implimentation for the diagrams library.
README.md
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 install
ing.