How can I continue this Python code?
Hello! I have to do a project for school in Python. The goal is to load the Superman image onto the grayscale image. I've already edited the two images, but I don't know how to merge one image into the other. Here's the code:
Something like this at the end:
I'm really stuck. Maybe there's a way to do this with two-dimensional lists or something, but I'm really not sure. I'm grateful for any help. Thanks in advance.
What to do is depend on the API with which the images are managed.
Your approach looks good for itself, but since I don’t know the API, I can’t tell you where a mistake might be.
What kind of result do you get and what do you expect? Can you find the API somewhere you can look at it?
Moreover, as I see it, your file is called “supermanman”? So it’s in the code, not that it’s a mistake.