
auto stretch a image in picturebox to a correct ratio
How can I auto stretch a image to a correct size in a picture box?...
I want to have a function that allows me to correct the size of a image in a
picture box.
When the image is smaller then the picture box it have to center the image,
And when its bigger it have to stretch the image on a kind of ratio, so I
don't have
pictures with bigger widths then heights... I need this for displaying
faces...
Because it looks very silly when some faces got bigger widths then the
original size.
Hope you will understand what Im looking for, because my english is very
bad.
Ray!