Hi there.

I'm using PIL 1.1.6b1 with Python 2.5 on Windows.

Can someone tell me why PIL.Image.getdata() and PIL.Image.load() cause
subsequent PIL.Image.load() calls to return None?

        >>> import Image
        >>> im = Image.open('wire.png')
        >>> print type(im.load())
        <type 'PixelAccess'>
        >>> print type(im.load())
        <type 'NoneType'>
        >>> im = Image.open('wire.png')
        >>> print type(im.getdata())
        <type 'ImagingCore'>
        >>> print type(im.load())
        <type 'NoneType'>

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to