Merge pull request #47 from gwilymk/fix-agb-image-converter-build

Fixup cli
This commit is contained in:
Corwin 2021-06-05 18:06:46 +01:00 committed by GitHub
commit 2392d9fc83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(),
);
} }