I have several images (PNG format) that I want to combine them into one image file in a grid structure (in such a way that I can set the No. of images shown in every row). Also, I want to add small empty space between images.
For example, assume that there are 7 images. And I want to set the No. of images shown in every row as 3. The general structure of the combined image will be:
Please let me know if you know a good way to do that (preferably using PIL/Pillow or matplotlib libraries). Thanks.


