title: Resize Image of any size to fixed dimension using C# ASP.Net web form
body: <p>I have done image resizing while allowing user to upload a specific size image and then crop them to different dimension i have also used jCrop in project to allow users to upload a image of specific size and then select the image area &amp; crop it accordingly. </p>
  
  <p>In new project i have a requirement where user can upload any size image which is at least larger than 500Px in width and then i have to allow user to select the part of image using jCrop and then save image in different dimension of 475x313 , 310x205 while maintaining the aspect ration.</p>
  
  <p>I can do it with if i allow the used to upload a fixed size image but i am not sure how i can handle variable size image.</p>
  
  <p>I also need to display the image uploaded before cropping in a fixed size box.. let us say 300x200. in this area i have to allow the user to select the part of the image before i can crop.</p>
  
  <p>Issue i am facing is how to handle variable length image and show it is a fixed image box of 300x200px.</p>