You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, we depend on the old behavior. PR #9150 implements an ugly hack to mitigate the removal of the old behavior. Pillow PR python-pillow/Pillow#9063 partially restores the mode parameter. When it is part of a release, we should evaluate if we can go back to using the mode parameter in Image.fromarray() and avoid our ugly hack.