Raise filter_speckle CLI cap from 16 to 128

Ports visioncortex/vtracer#115: the command app capped filter_speckle at 16
while the web app allowed up to 128. Match the web app's range.
This commit is contained in:
Chris Tsang
2026-07-24 11:15:29 +01:00
parent 3300f97e37
commit 35b4b6f846
+2 -2
View File
@@ -39,8 +39,8 @@ struct Args {
#[arg(short, long)]
mode: Option<FitMode>,
/// Discard patches smaller than X px in size (0..=16).
#[arg(short = 'f', long, value_parser = clap::value_parser!(i64).range(0..=16))]
/// Discard patches smaller than X px in size (0..=128).
#[arg(short = 'f', long, value_parser = clap::value_parser!(i64).range(0..=128))]
filter_speckle: Option<i64>,
/// Significant bits per RGB channel (1..=8).