Daily I make an image composition with background (background) in alpha channel in the following dimensions: 558px (length) and 465px (height)
I always have an image with pixels left over that I want to insert in the lower left corner of the image that I usually call img1:
I always have an image with pixels left over that I want to insert in the upper left corner of the image that I usually call img2:
Usually, both images are larger than the area of the final image (background). And I eliminate the background and do a better framing.
I'm trying to make the bottom layer the image "background" file.
The second layer is the img1Fit file in the lower left corner.
And the third layer is the img2Fit file in the upper right corner.
So that the images img1Fit and img2Fit do not overlap and can be resized so that they are in the background.
I tried a code, but it didn't work ...
Expected result (something similar):
Another important information is that the "finalImage" has AlphaChannel = True.