This is the image having the error of my attempt to crop bulky images. I tried out but it was throwing some errors as also shown in the diagram. I tried several options but all failed. I will be happy if i receive a quick feedback about this problem that has caused me sleepless nights. Thank you.
Asked
Active
Viewed 17 times
-3
-
2You should copy the text of the code and error here, not an image of it. – Joe Sep 02 '23 at 02:24
-
Have you tried [Image.crop](https://pillow.readthedocs.io/en/stable/reference/Image.html#PIL.Image.Image.crop)? – Joe Sep 02 '23 at 02:29
-
You might also try [converting](https://stackoverflow.com/a/384926/6394617) the PIL Image object to/from a numpy array – Joe Sep 02 '23 at 02:32