Project

potracer

0.0
No release in over 3 years
Low commit activity in last 3 years
Ruby bindings for the potrace library.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Introduction¶ ↑

Potracer is a wrapper for libpotrace.

<img src=“https://travis-ci.org/kennyp/potracer.png” /> <img src=“https://codeclimate.com/github/kennyp/potracer/badges/gpa.svg” /> <img src=“https://coveralls.io/repos/kennyp/potracer/badge.svg?branch=master” alt=“Coverage Status” />

About Potrace¶ ↑

Potrace is a tool for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image. 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.

About Potracer¶ ↑

Potracer wraps the Potrace library in an easy to use Ruby binding. Input can be in the form of a multi-dimensional array of 1s and 0s or string image data. Suitable string data can be gotten from Rmagick’s export_pixels_to_str or be crafted by hand.

Usage¶ ↑

See the examples directory for sample usage.

Contact¶ ↑

Feel free to post any issues to the issue tracker and submit pull requests.

You can also email me at k.parnell ‘at’ gmail.com