Term-px lets you turn images or image data into RGB or ANSI art for your terminal.

Demo

It's written in Javascript, so you can use it with Node, or say, use it to make a browser tool.

You can try converting an image here.