mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-22 15:16:40 +11:00
Fixup cli
This commit is contained in:
parent
7a97591432
commit
7c02a8570f
1 changed files with 7 additions and 6 deletions
|
@ -7,10 +7,11 @@ fn main() {
|
|||
|
||||
let file_path = &args[1];
|
||||
let output_path = &args[2];
|
||||
convert_image(&ImageConverterConfig {
|
||||
transparent_colour: None,
|
||||
tile_size: TileSize::Tile8,
|
||||
input_image: file_path.into(),
|
||||
output_file: output_path.into(),
|
||||
});
|
||||
convert_image(
|
||||
ImageConverterConfig::builder()
|
||||
.tile_size(TileSize::Tile8)
|
||||
.input_image(file_path.into())
|
||||
.output_file(output_path.into())
|
||||
.build(),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue