pcolton / potrace

Transform a bitmap into a smooth, scalable vector image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift Potrace

This is a Swift 5.0 compatible port of the JavaScript port of Potrace. Potrace allows you to transform a bitmap into a smooth, scalable vector image.

It includes a getBezierPath() function that returns a UIBezierPath for easy rendering on iOS (see included demo app).

func getBezierPath(scale size: Double = 1.0) -> UIBezierPath

screenshot

Licensed under GPL v2. Ditsributed without any waranty.

About

Transform a bitmap into a smooth, scalable vector image.

License:GNU General Public License v2.0


Languages

Language:Swift 100.0%