raster2tgp function

Dump an image raster to the terminal using the Terminal Graphics Protocol