saving . . . saved to obtain the square in the centre of the image squares.png with size 150*150 has been deleted. to obtain the square in the centre of the image squares.png with size 150*150 has been hidden .
to obtain the square in the centre of the image squares.png with size 150*150
Title
Question
since the index value starts from zero which is correct
img[74:225,75:225]   or
img[75:225,75:225]

Python-3.4.3 Image-manipulation-using-Arrays 05-06 min 20-30 sec 04-06-21, 5:59 p.m. KAVYA_30

Answers:

Please note that here the size / number of pixels are more important hence your second answer is more accurate
24-06-21, 4:38 p.m. ankitrj.iitb


Log-in to answer to this question.