Include the colors in the out file 🥰
This commit is contained in:
parent
2b59ad4609
commit
9d26bf939a
1 changed files with 6 additions and 2 deletions
|
@ -59,8 +59,12 @@ fn main() {
|
|||
info!("Outputting image");
|
||||
match arguments.output_method {
|
||||
OutputMethod::File => {
|
||||
match std::fs::write(arguments.output.clone(),
|
||||
output.iter().map(|s| s.to_string()).collect::<String>()) {
|
||||
match std::fs::write(
|
||||
arguments.output.clone(),
|
||||
output.iter()
|
||||
.map(|s| format!("{}", s))
|
||||
.collect::<String>(),
|
||||
) {
|
||||
Ok(_) => info!("Successfully outputted image: {}", arguments.output),
|
||||
Err(e) => {
|
||||
error!("Failed to output image: {:?}", e);
|
||||
|
|
Loading…
Reference in a new issue