![python - Strange PIL.Image.fromarray behaviour with numpy zeros and ones in mode='1' - Stack Overflow python - Strange PIL.Image.fromarray behaviour with numpy zeros and ones in mode='1' - Stack Overflow](https://i.stack.imgur.com/RsWZ4.png)
python - Strange PIL.Image.fromarray behaviour with numpy zeros and ones in mode='1' - Stack Overflow
Undefined Behavior: using numpy.array() to convert instances of PIL.TiffImagePlugin.TiffImageFile to ndarrays after opening TIFF with Image.open() · Issue #4281 · python- pillow/Pillow · GitHub
![python - Colour of image is being changed after conversion from PIL image to numpy array and converting it back - Stack Overflow python - Colour of image is being changed after conversion from PIL image to numpy array and converting it back - Stack Overflow](https://i.stack.imgur.com/5zpL7.jpg)