Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 519 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 519 Bytes

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.