From 6d4701b36df1264a957d8bfb247fa1b6201f50b8 Mon Sep 17 00:00:00 2001 From: Vomitblood Date: Mon, 15 Jul 2024 14:23:27 +0800 Subject: [PATCH] testing image to ascii converter --- src/bin/test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/test.rs b/src/bin/test.rs index d336651..4e4e703 100644 --- a/src/bin/test.rs +++ b/src/bin/test.rs @@ -2,12 +2,12 @@ use image::GenericImageView; use std::io::Write; fn convert_images_to_ascii() -> std::io::Result<()> { - let path = std::path::Path::new("/home/vomitblood/Pictures/staging/vomitbloodnft 1080p.png"); + let path = std::path::Path::new("/home/vomitblood/Pictures/bad-rats.jpg"); let img = image::open(path).unwrap(); let ascii_art = convert_image_to_unicode_small(&img); - let output_path = std::path::Path::new("/home/vomitblood/Pictures/staging/vomitbloodnft.txt"); + let output_path = std::path::Path::new("/home/vomitblood/Downloads/bruh.txt"); let mut file = std::fs::File::create(output_path)?; file.write_all(ascii_art.as_bytes())?;