use crate::*;
#[derive(StructOpt, Debug)]
pub struct Param {
#[structopt(parse(from_os_str))]
image_dir_or_file: PathBuf,
#[structopt(parse(from_os_str))]
output_dir_or_file: PathBuf,
#[structopt(parse(from_os_str))]
imageset: PathBuf,
#[structopt(parse(from_os_str))]
imageset_dir: PathBuf,
#[structopt(long, parse(try_from_str = opt_crop))]
crop: Option<(u32, u32, u32, u32)>,
#[structopt(long, parse(try_from_str = opt_resize))]
resize: Option<(u32, u32)>,
#[structopt(long, default_value = "40x30", parse(try_from_str = opt_resize))]
enlarge: (u32, u32),
#[structopt(long)]
negate: bool,
}
pub fn main(
Param {
image_dir_or_file,
output_dir_or_file,
imageset,
imageset_dir,
crop,
resize,
enlarge,
negate,
}: Param,
) {
}