treating the TIFF as a data format rather than a
> visualization data format.
>
> Ben Root
>
>
> On Fri, Apr 29, 2016 at 12:47 PM, Henrique Almeida <hdante.l...@gmail.com>
> wrote:
>>
>> I think in any case, the result is unexpected, PIL is loading garbage
>>
I think in any case, the result is unexpected, PIL is loading garbage
from memory when loading black and white images because it sends the
wrong buffer size, and matplotlib correctly loads the black and white
image, but stores it in a 3D array.
2016-04-29 13:43 GMT-03:00 Henrique Almeida
>
> Ben Root
>
>
> On Fri, Apr 29, 2016 at 12:31 PM, Henrique Almeida <hdante.l...@gmail.com>
> wrote:
>>
>> Paul, yes, imread() worked for reading the black and white TIFF. The
>> situation improved, but now, there seems to be some problem with the
>
the colormap working with black and white images ?
2016-04-29 13:06 GMT-03:00 Paul Hobson <pmhob...@gmail.com>:
> Does using pyplot.imgread work?
>
> On Fri, Apr 29, 2016 at 8:27 AM, Henrique Almeida <hdante.l...@gmail.com>
> wrote:
>>
>> Any help with this proble
Any help with this problem ?
2016-04-27 11:35 GMT-03:00 Henrique Almeida <hdante.l...@gmail.com>:
> Hello, what's the current status on numpy for loading bit-arrays ?
>
> I'm currently unable to correctly load black and white (1-bit) TIFF
> images. Code example follows:
&
Hello, what's the current status on numpy for loading bit-arrays ?
I'm currently unable to correctly load black and white (1-bit) TIFF
images. Code example follows:
from PIL import Image
import numpy
from matplotlib import pyplot
img = Image.open('oi-00.tiff')
a = numpy.array(img)
^ does not