What I Want to Do: I have a png image file, and I want to make multiple copies of it(each scaled to a random ratio and rotated to a random degree), finally I need to compose all the image objects into one big png file.
My Thought Process: After scaling and rotating the images, then I need to detect the minimum bounding box(rectangle) of each small png image object, then compose all the rectangles to one big rectangle(the final big png file).
My Question: I can't find a way to do the final process: composing.
Any help is appreciated. I'm relatively new to programming(I'm learning Python), so if you can give some details about how to do it, that would be best.
Thanks in advance.