Posts: 724
Threads: 114
Joined: Dec 2017
Jul-05-2022, 08:52 AM
(This post was last modified: Jul-05-2022, 08:53 AM by DPaul.)
The answer is yes.
It is not diffficult, but requires some fidgeting, depending on the starting conditions.
1) Are all the pictures the same size to start with ?
2) How big do you want the border to be (in pixels) ?
All you need is:
from PIL import Image
Determine height and with, resize (with respect of proportions)
For the border, i would make a template picture (green) slightly bigger than 400x300,
and put the pictures in the middle and the text at the bottom. There are other posiibilities.
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Posts: 724
Threads: 114
Joined: Dec 2017
I do not know your level of Python experience ,
but if what i'm suggesting is news to you, i would recommend using
Gimp, PSelements, etc. It will save hours.
I would.
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.