mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Merge pull request #47 from gwilymk/fix-agb-image-converter-build
Fixup cli
This commit is contained in:
commit
2392d9fc83
|
@ -7,10 +7,11 @@ fn main() {
|
||||||
|
|
||||||
let file_path = &args[1];
|
let file_path = &args[1];
|
||||||
let output_path = &args[2];
|
let output_path = &args[2];
|
||||||
convert_image(&ImageConverterConfig {
|
convert_image(
|
||||||
transparent_colour: None,
|
ImageConverterConfig::builder()
|
||||||
tile_size: TileSize::Tile8,
|
.tile_size(TileSize::Tile8)
|
||||||
input_image: file_path.into(),
|
.input_image(file_path.into())
|
||||||
output_file: output_path.into(),
|
.output_file(output_path.into())
|
||||||
});
|
.build(),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue