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");
|
info!("Outputting image");
|
||||||
match arguments.output_method {
|
match arguments.output_method {
|
||||||
OutputMethod::File => {
|
OutputMethod::File => {
|
||||||
match std::fs::write(arguments.output.clone(),
|
match std::fs::write(
|
||||||
output.iter().map(|s| s.to_string()).collect::<String>()) {
|
arguments.output.clone(),
|
||||||
|
output.iter()
|
||||||
|
.map(|s| format!("{}", s))
|
||||||
|
.collect::<String>(),
|
||||||
|
) {
|
||||||
Ok(_) => info!("Successfully outputted image: {}", arguments.output),
|
Ok(_) => info!("Successfully outputted image: {}", arguments.output),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
error!("Failed to output image: {:?}", e);
|
error!("Failed to output image: {:?}", e);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue