We are used to seeing binary files as text and many times haven’t tried to visualize them as images.

One technique is to take all 256 possible characters in the ASCII system, convert them to binary, and plot the conversion in an image, left to right, top to bottom. The basic approach is to color a pixel white if a bit is a one and black if it is a zero.  It is also possible to use color, like the image above, to further enhance the image. Colors in such a case, are determined heuristically according to the preferences of the coder, such as using yellow to indicate skipped lines, red to indicate spaces, and so on….


[Conti, Greg, Security Data Visualization, Graphical Techniques for Network Analysis, pp.22-24]