image2xterm: display an image on console with a 256 colors palette