Stitching Photos together


So for this project I’m working on, I have 2 photos. These two photos need to be stitched together, one on the top and one on the bottom, and then you will be able to see the whole picture. Any ideas on what module I should use to do this?


The python imaging library (updated link) will eat that task for breakfast.

See the tutorial in particular the "Cutting, Pasting and Merging Images" section for some relevant help.

For rough outline, load both images with, find out how big the output image will be by using the size attribute and some addition, create the output image with and then use the paste method to past the two original images in.

Answered By – Nick Craig-Wood

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published