mirror of
https://github.com/visioncortex/vtracer.git
synced 2025-12-06 17:15:41 -08:00
Update README.md
This commit is contained in:
54
README.md
54
README.md
@@ -39,31 +39,35 @@ VTracer and its [core library](//github.com/visioncortex/visioncortex) is implem
|
|||||||

|

|
||||||
|
|
||||||
## Command Line
|
## Command Line
|
||||||
```
|
|
||||||
visioncortex VTracer
|
```sh
|
||||||
A cmd app to convert images into vector graphics.
|
visioncortex VTracer 0.3.0
|
||||||
|
A cmd app to convert images into vector graphics.
|
||||||
USAGE:
|
|
||||||
vtracer [OPTIONS] --input <input> --output <output>
|
USAGE:
|
||||||
|
vtracer [OPTIONS] --input <input> --output <output>
|
||||||
FLAGS:
|
|
||||||
-h, --help Prints help information
|
FLAGS:
|
||||||
-V, --version Prints version information
|
-h, --help Prints help information
|
||||||
|
-V, --version Prints version information
|
||||||
OPTIONS:
|
|
||||||
--colormode <color_mode> True color image `color` (default) or Binary image `bw`
|
OPTIONS:
|
||||||
-p, --color_precision <color_precision> Number of significant bits to use in an RGB channel
|
--colormode <color_mode> True color image `color` (default) or Binary image `bw`
|
||||||
-c, --corner_threshold <corner_threshold> Minimum momentary angle (degree) to be considered a corner
|
-p, --color_precision <color_precision> Number of significant bits to use in an RGB channel
|
||||||
-f, --filter_speckle <filter_speckle> Discard patches smaller than X px in size
|
-c, --corner_threshold <corner_threshold> Minimum momentary angle (degree) to be considered a corner
|
||||||
-g, --gradient_step <gradient_step> Color difference between gradient layers
|
-f, --filter_speckle <filter_speckle> Discard patches smaller than X px in size
|
||||||
-i, --input <input> Path to input raster image
|
-g, --gradient_step <gradient_step> Color difference between gradient layers
|
||||||
-m, --mode <mode> Curver fitting mode `pixel`, `polygon`, `spline`
|
--hierarchical <hierarchical>
|
||||||
-o, --output <output> Path to output vector graphics
|
Hierarchical clustering `stacked` (default) or non-stacked `cutout`. Only applies to color mode.
|
||||||
--preset <preset> Use one of the preset configs `bw`, `poster`, `photo`
|
|
||||||
-l, --segment_length <segment_length>
|
-i, --input <input> Path to input raster image
|
||||||
Perform iterative subdivide smooth until all segments are shorter than this length
|
-m, --mode <mode> Curver fitting mode `pixel`, `polygon`, `spline`
|
||||||
|
-o, --output <output> Path to output vector graphics
|
||||||
-s, --splice_threshold <splice_threshold> Minimum angle displacement (degree) to splice a spline
|
--preset <preset> Use one of the preset configs `bw`, `poster`, `photo`
|
||||||
|
-l, --segment_length <segment_length>
|
||||||
|
Perform iterative subdivide smooth until all segments are shorter than this length
|
||||||
|
|
||||||
|
-s, --splice_threshold <splice_threshold> Minimum angle displacement (degree) to splice a spline
|
||||||
```
|
```
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|||||||
Reference in New Issue
Block a user