--- from: http://rosettacode.org/wiki/Bitmap/PPM_conversion_through_a_pipe note: Raster graphics operations