diff --git a/agb-image-converter/src/bin/convert.rs b/agb-image-converter/src/bin/convert.rs index 82737b86..366fd492 100644 --- a/agb-image-converter/src/bin/convert.rs +++ b/agb-image-converter/src/bin/convert.rs @@ -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(), + ); }