I have an image having dimension 1000*500
I want to make it of 400*300
But My image should not looked distorted.
http://www.daniweb.com/forums/thread295652.html
- i used this as a reference. But My image get distorted.
I have an image having dimension 1000*500
I want to make it of 400*300
But My image should not looked distorted.
http://www.daniweb.com/forums/thread295652.html
- i used this as a reference. But My image get distorted.
Your target image size has a different aspect ratio to that of the original. The original is 2:1 but the target is 4:3.
You can resize preserving the aspect ratio, but depending on which dimension you choose you'll either get an image that's 400 x 200 or 600 x 300.
If you need the image to be 400 x 300 then you'll need to resize to 400 x 200 and then add border to each side or 600 x 300 and add the border to the top and bottom.