News for hackers. Stuff that matters.
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by elliottcarlson on Tuesday April 16, 2024 @07:11AM (#40050601)
I was making a similar library (paired with a cli app) in Go a while back with some fun results -- it lead me down a rabbit hole trying to render animated gifs, which has interesting results depending on the terminal being used. I also implemented the resizing of the images to properly scale for the terminal as well. I never actually got around to uploading the repo, but will try to get around to that tonight.

Some videos of it in action: https://youtu.be/L2LTPKW6EPw https://youtu.be/b0CYZyuKLr8 https://youtu.be/_VnV96l5Xkc

Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by overcrowd8537 on Tuesday April 16, 2024 @07:38AM (#40050775)
I also did something in dotnet that was a half baked visual media player. Had seek, pause, dynamic resizing, and a frame buffer all implemented, but it was a super naive representation. It was neat to be able to save frames of a movie as ascii text to a text file with or without ansi escape sequences to even view later on a machine without the app.