console-image.js

Drag an image file in to the area to the right to view it in your console and generate a console log command for your apps.

This library takes an image element and copies it to a canvas, then it loops through each pixel and writes two spaces to the console in the same colour. This has the effect of 'drawing' an image.

If you want to extend it to do more than just colour (you could use any CSS property), edit the definition in ./src/console-image.js at line #27.

Make an image

Drop an image here.

Size

Change the size of the generated console-image

20 80

console.log()

A generated console.log() command will appear here when you drop an image on the target above.