Re: PIL: problem to convert an image array to PIL format

2009-12-17 Thread Sverre
On 17 Des, 15:45, Peter Otten <__pete...@web.de> wrote: > > This has come up before, see > > http://mail.python.org/pipermail/python-list/2009-October/1221578.html > > Peter Thank you! -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL: problem to convert an image array to PIL format

2009-12-17 Thread Peter Otten
Sverre wrote: > After converting a PIL image in memory to an array with numpy.asarray > (), I make a adthreshold() with pymorph() with the result, that all > pixels in the array are either false or true (boolean). But my try to > convert this back into PIL format is failing > > img = Image.fromar

Re: PIL: problem to convert an image array to PIL format

2009-12-17 Thread Robert Franke
Hi, On Thu, Dec 17, 2009 at 1:14 PM, Sverre wrote: > After converting a PIL image in memory to an array with numpy.asarray > (), I make a adthreshold() with pymorph() with the result, that all > pixels in the array are either false or true (boolean). But my try to > convert this back into PIL fo