Add border to the images and create a black image

how can i add border to the images and how can i create a black image of 430*430

Hey @Anshuman-Behera-1168641663271515, hope you have all images with you loaded and are of size needed. 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[:,:] ( used slicing to add the images to ans)
Add 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. :blush: