python image unified transform

Question:

I looking for a way to transform a Image into a another one.
The tool from GIMP work perfectly for my task: "Unified Transform Tool"
But is there a way to do it with a python lib? Like openCV or PIL?

My Goal is it to add images to mockup photos and I have to do it automaticly.

Asked By: Thee Cherry

||

Answers:

I don’t know the GIMP technique, but it looks like a "Scale Rotate Translate" kind of thing which you can do in Python with wand.

You can do the same thing in the Terminal with ImageMagick. Tutorial and examples here.

Answered By: Mark Setchell