I'm sure this must be a maths thing, if it is I stuffed as I am naff at math!
I have a picture box sized at 960 * 536 pixels and I am using the code below to put images of different sizes into it. Some look OK others are distorted.
I have an image I am looking at now and it is distorted. Its dimensions are 2142*2856.
Is there some magical formula needed to scale it to look right? Any help gratefully received!
Thnx
I have a picture box sized at 960 * 536 pixels and I am using the code below to put images of different sizes into it. Some look OK others are distorted.
Code:
m_bmpNewImage = New Bitmap(m_bmpNewImage, 960, 536)
I have an image I am looking at now and it is distorted. Its dimensions are 2142*2856.
Is there some magical formula needed to scale it to look right? Any help gratefully received!
Thnx