I want to get an image from a user and re-size it to a specific size but the problem is :
I don’t know about the user’s image size and I have to re-size it to a certain size but deformation is burden over here.
how can I solve this problem? is there any algorithm according to that?
or is there any source code preferably in .net?
best regards.
As far as deformation, you could use a combination of cropping and resizing. Your user would help you with the cropping.
I found this code on Code Project with a simple Google search of
.net resize an image