Skip to content

New pillow release has broken array coercion #5455

@jni

Description

@jni

Description

Probably an issue for Pillow, but not sure yet so noting it down here. Example failure here:

>               frame_paletted = np.array(im, np.uint8)
E               TypeError: __array__() takes 1 positional argument but 2 were given

C:\hostedtoolcache\windows\Python\3.9.5\x64\lib\site-packages\imageio\plugins\pillow.py:745: TypeError

I'm pretty sure that __array__ methods should take in dtype=, but I don't know 100%.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions