mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31: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 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…
Reference in a new issue