How to place the image in the middle and fix the borders accordingly using the existing code ? When I am resizing the center image I am getting an error while running my code.I am not able to figure it out why it is so ?
I am not able to place the center image and also cant figure out the borders
Hey @pmondal095, hope you have all images with you loaded and are of size 200,200. You need to proceed like this,
ans = np.zeros((430,430,3)), ( zero stands for black colour, so we have made black canvas by this time)
ans[10:210, 10:210] = top_left[:,:]
Add three lines for the rest 4 images, try to do it yourself, Placing center image will be way more difficult, use rough paper and pen to figure out the slicing indices.
Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.