Plot Pixel Values In Python, fromstring() is faster still if you prefer to deal with byte values.