une image ascii c'est un txt.
Pour une image ascii juste pas de "format" juste un fichier .txt sans lib et en avant ;)
//ouverture d'image
/* let i = fs::read_to_string("image").expect("Something went wrong reading the file");
let docs_i = YamlLoader::load_from_str(&i).unwrap();
let doc_i = &docs_i[0];
let mut out_i = String::new();
let mut emitter_i = YamlEmitter::new(&mut out_i);
emitter_i.dump(doc_i).unwrap(); // dump the YAML object to a String
let image_i=out_i.to_string();
*/
au pire dois exister des formats d'image ascii mais franchement c'est overkill.