title: Best resolution resizing image using ImgScalr
body: <p>I am very new to ImgScalr API.I need to resize my images to different views, one of them being a mobile view and second a thumbnail view.
  I have made use of the resize method, but have a doubt. Which is the best of the resize method to resizing the image out of the multiple options available that keeps the proper aspect ratio(as in the image doesnt become blurred)</p>
  
  <p>One thing I noticed was that every resize method takes in a <strong>targetSize</strong> argument. How does specifiying this field make sure that the aspect ratio of the image does not get affected. </p>
  
  <p>What should the ideal arguments to the resize method be, given that I need to generate a 2 KB thumbnail view of my input image that may be of size of around 2 MB.</p>
  
  <p>I am a bit confused because of the lack of enough documentation and examples.</p>