kwiver icon indicating copy to clipboard operation
kwiver copied to clipboard

NotImplementedError in classmethod from_pil in Image

Open as6520 opened this issue 8 years ago • 0 comments

File /viame/build/install/lib/python2.7/dist-packages/vital/types/image.py", line 130, in from_pil img_data = pil_image.tostring() File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 697, in tostring "Please call tobytes() instead.") NotImplementedError: tostring() has been removed. Please call tobytes() instead.

tostring() has been removed in favor of tobytes from pillow since version 3.0

as6520 avatar May 31 '17 19:05 as6520