use texture_synthesis as ts;
fn main() -> Result<(), ts::Error> {
let texsynth = ts::Session::builder()
.add_examples(&[
&"imgs/multiexample/1.jpg",
&"imgs/multiexample/2.jpg",
&"imgs/multiexample/3.jpg",
&"imgs/multiexample/4.jpg",
])
.resize_input(ts::Dims {
width: 300,
height: 300,
})
.random_init(10)
.seed(211)
.build()?;
let generated = texsynth.run(None);
generated.save("out/02.jpg")?;
generated.save_debug("out/")
}