From b2c95a50cde3155974fa8bb1e8feae84c50a0890 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Mon, 1 Mar 2021 20:57:12 +0800 Subject: [PATCH] Update README.md --- README.md | 54 +++++++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 335b235..91c7343 100644 --- a/README.md +++ b/README.md @@ -39,31 +39,35 @@ VTracer and its [core library](//github.com/visioncortex/visioncortex) is implem ![screenshot](docs/images/screenshot-02.png) ## Command Line -``` -visioncortex VTracer -A cmd app to convert images into vector graphics. - -USAGE: - vtracer [OPTIONS] --input --output - -FLAGS: - -h, --help Prints help information - -V, --version Prints version information - -OPTIONS: - --colormode True color image `color` (default) or Binary image `bw` - -p, --color_precision Number of significant bits to use in an RGB channel - -c, --corner_threshold Minimum momentary angle (degree) to be considered a corner - -f, --filter_speckle Discard patches smaller than X px in size - -g, --gradient_step Color difference between gradient layers - -i, --input Path to input raster image - -m, --mode Curver fitting mode `pixel`, `polygon`, `spline` - -o, --output Path to output vector graphics - --preset Use one of the preset configs `bw`, `poster`, `photo` - -l, --segment_length - Perform iterative subdivide smooth until all segments are shorter than this length - - -s, --splice_threshold Minimum angle displacement (degree) to splice a spline + +```sh +visioncortex VTracer 0.3.0 +A cmd app to convert images into vector graphics. + +USAGE: + vtracer [OPTIONS] --input --output + +FLAGS: + -h, --help Prints help information + -V, --version Prints version information + +OPTIONS: + --colormode True color image `color` (default) or Binary image `bw` + -p, --color_precision Number of significant bits to use in an RGB channel + -c, --corner_threshold Minimum momentary angle (degree) to be considered a corner + -f, --filter_speckle Discard patches smaller than X px in size + -g, --gradient_step Color difference between gradient layers + --hierarchical + Hierarchical clustering `stacked` (default) or non-stacked `cutout`. Only applies to color mode. + + -i, --input Path to input raster image + -m, --mode Curver fitting mode `pixel`, `polygon`, `spline` + -o, --output Path to output vector graphics + --preset Use one of the preset configs `bw`, `poster`, `photo` + -l, --segment_length + Perform iterative subdivide smooth until all segments are shorter than this length + + -s, --splice_threshold Minimum angle displacement (degree) to splice a spline ``` ### Usage