Re: Address boundary error when trying to use Image.putdata(array) from PIL

2016-09-24 Thread MRAB
On 2016-09-24 11:59, Tristan Trouwen wrote: Got a signal boundary error. Steps to reproduce: open python console Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. from PIL import Image im = Image.open('HKJ

Address boundary error when trying to use Image.putdata(array) from PIL

2016-09-24 Thread Tristan Trouwen
Got a signal boundary error. Steps to reproduce: open python console Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from PIL import Image >>> im = Image.open('HKJL.jpg') >>> import numpy as np >>> arr