Thanks for the reply, Paul.
Appending white spaces to the images to make the ratio the same would be a good solution for us. However, I couldn't find any software to manipulate the image as you described.
Please shed some light to the implementations detail.
