Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: visioncortex/vtracer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 78f283bfbd64be730ea3dded32bc68b2bf1984d5
Choose a base ref
..
head repository: visioncortex/vtracer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1361c500d4040ecdbbe32ac2b39eb02f13b5d74a
Choose a head ref
Showing with 2 additions and 4 deletions.
  1. +1 −1 cmdapp/Cargo.toml
  2. +1 −3 cmdapp/src/python.rs
2 changes: 1 addition & 1 deletion cmdapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -22,4 +22,4 @@ python-binding = ["pyo3"]

[lib]
name = "vtracer"
crate-type = ["cdylib"]
crate-type = ["rlib", "cdylib"]
4 changes: 1 addition & 3 deletions cmdapp/src/python.rs
Original file line number Diff line number Diff line change
@@ -53,8 +53,6 @@ fn convert_image_to_svg_py(
let max_iterations = max_iterations.unwrap_or(10);

let config = Config {
input_path,
output_path,
color_mode,
hierarchical,
filter_speckle,
@@ -69,7 +67,7 @@ fn convert_image_to_svg_py(
..Default::default()
};

convert_image_to_svg(config).unwrap();
convert_image_to_svg(&input_path, &output_path, config).unwrap();
Ok(())
}