[GRASS-dev] d.mon using PIL tostring() (not used anymore), tobytes() to be used.

Yann ychemin at gmail.com
Wed Dec 2 01:06:43 PST 2015


Hi,

in SVN trunk using Ubuntu 16.04 LTS

-----------------------------

     pilImageRgbData = pilImageCopyRGB.tostring()
   File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 686, in 
tostring
     "Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.
  100%

-- 
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34



More information about the grass-dev mailing list