cslarsen / jp2a

Converts jpg images to ASCII
GNU General Public License v2.0
805 stars 72 forks source link

[Feature Request] Add support for piping image content to jp2a #19

Closed SunPodder closed 1 year ago

SunPodder commented 2 years ago

I was thinking to play a video on the terminal. I will get each frame of a video as a image and then pass it to jp2a. So first I tried to pipe a image content to it with cat image.jpg | jp2a but it doesn't work. So can you please add this functionality please?

Talinx commented 2 years ago

You can add - to read an image from stdin, e.g.: cat image.jpg | jp2a -.