Skip to content

Commit 5f5a6c6

Browse files
committed
README
1 parent 022018b commit 5f5a6c6

File tree

4 files changed

+18
-31
lines changed

4 files changed

+18
-31
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2022 Tsang Hao Fung
1+
Copyright (c) 2023 Tsang Hao Fung
22

33
Permission is hereby granted, free of charge, to any
44
person obtaining a copy of this software and associated

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
visioncortex VTracer is an open source software to convert raster images (like jpg & png) into vector graphics (svg). It can vectorize graphics and photographs and trace the curves to output compact vector files.
2424

25-
Comparing to [Potrace](http://potrace.sourceforge.net/) which only accept binarized inputs (Black & White pixmap), VTracer has an image processing pipeline which can handle colored high resolution scans.
25+
Comparing to [Potrace](http://potrace.sourceforge.net/) which only accept binarized inputs (Black & White pixmap), VTracer has an image processing pipeline which can handle colored high resolution scans. tl;dr: Potrace uses a `O(n^2)` fitting algorithm, whereas `vtracer` is entirely `O(n)`.
2626

2727
Comparing to Adobe Illustrator's [Image Trace](https://helpx.adobe.com/illustrator/using/image-trace.html), VTracer's output is much more compact (less shapes) as we adopt a stacking strategy and avoid producing shapes with holes.
2828

@@ -118,6 +118,20 @@ VTracer is used by the following projects (feel free to add yours!):
118118
</tbody>
119119
</table>
120120
121+
## Anecdotes
122+
123+
> The following content is an excerpt from my [unpublished](https://github.com/sponsors/tyt2y3) [memoir](https://github.com/visioncortex/memoir).
124+
125+
### How / when did VTracer come about?
126+
127+
At my teenage, two open source projects in the vector graphics space inspired me the most: Potrace and Anti-Grain Geometry (AGG).
128+
129+
Many years later, in 2020, I was developing a video processing engine. And it became evident that it requires way more investment to be commercially viable. So before abandoning the project, I wanted to publish *something* as open-source for posterity. At that time, I already developed a prototype vector graphics tracer. It can convert high-resolution scans of hand-drawn blueprints into vectors. But it can only process black and white images, and can only output polygons, not splines.
130+
131+
The plan was to fully develop the vectorizer: to handle color images and output splines. I recruited a very talented intern, [Sanford](@shpun817), to work on VTracer. I grafted the frontend of the video processing engine - the ["The Clustering Algorithm"](https://www.visioncortex.org/impression-docs#the-clustering-algorithm) as the pre-processor.
132+
133+
Three months later, we published the first version on Reddit. Out of my surprise, the response of such an underwhelming project was overwhelming.
134+
121135
## What's next?
122136
123137
There are several things in my mind:
@@ -128,4 +142,4 @@ There are several things in my mind:
128142
129143
3. Image cleaning. Right now the tracer works best on losslessly compressed pngs. If an image suffered from jpeg noises, it could impact the tracing quality. We might be able to develop a pre-filtering pass that denoises the input.
130144
131-
If you are interested in working on them or willing to sponsor its development, feel free to get in touch.
145+
If you are interested in working on them or willing to sponsor its development, feel free to get in touch.

RELEASES.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

cmdapp/LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2022 Tsang Hao Fung
1+
Copyright (c) 2023 Tsang Hao Fung
22

33
Permission is hereby granted, free of charge, to any
44
person obtaining a copy of this software and associated

0 commit comments

Comments
 (0)