title: Magento crop image?
body: <p>I found this: <a href="http://docs.magentocommerce.com/Varien/Varien_Image/Varien_Image.html#crop" rel="nofollow">http://docs.magentocommerce.com/Varien/Varien_Image/Varien_Image.html#crop</a></p>
  
  <p>But I'm not sure if this is deprecated or something because when I tried this:</p>
  
  <pre><code>echo rawurlencode($this-&gt;helper('catalog/image')-&gt;init($_product, 'image')-&gt;constrainOnly(TRUE)-&gt;keepAspectRatio(TRUE)-&gt;keepFrame(FALSE)-&gt;setWatermarkImageOpacity(0)-&gt;crop(10, 20, 30, 40)-&gt;resize(300, null))
  </code></pre>
  
  <p>It doesn't work and gives me this error:</p>
  
  <pre><code>Fatal error:  Call to undefined method Mage_Catalog_Helper_Image::crop() in /home/xxxxx/public_html/app/design/frontend/default/xxxxx/template/catalog/product/view.phtml
  </code></pre>
  
  <p>So is the crop() method actually usable at all? If it is, how can I use it to crop (not to be confused with resize) the product images of Magento? Thanks!</p>