Use fromstring() instead of fromarray() #11912 (rebased onto dev_5_0)



This is the same as gh-62 but rebased onto dev_5_0.

----

The Kymograph script should work with 8/16-bit images using PIL <= 1.1.6 (default on Centos 6). Also made the same change to Plot_Profile.