title: Content-Aware Image Cropping with C#
body: <p>I am working on a CMS like project which users can upload images with contents. I have to create thumbnails for the uploaded images on the fly. Lets say the thumbnail size as 125x75</p>
  
  <p>I can resize images without problem but when it comes to crop operation several problems occur. My resize and crop procedure works like this:</p>
  
  <ol>
  <li>Load the original image.</li>
  <li>Resize the image to desired size preventing the original aspect ratio depending on the given maximum width or height</li>
  <li>If the result image has a different aspect ration than the output aspect ratio than a centered crop operation is applied.</li>
  </ol>
  
  <p>But what I want to achive is a content-aware cropping as described in Jue Wang's article <a href="http://jueseph.com/2010/06/opticrop-content-aware-cropping-with-php-and-imagemagick/" rel="nofollow">Opticrop: Content-aware Cropping with PHP and ImageMagick</a></p>
  
  <p>Is there any way to do it with C# or is there a library that can do this operation.</p>
  
  <p>Note: I do not want content-aware resizing. Content-aware resizing (seam craving) can be done with ImageResizing.net <a href="http://imageresizing.net/plugins/seamcarving" rel="nofollow">SeamCarving plugin</a></p>