title: Image Cropping Tool (Python)
body: <p>I'm a film photographer who deals a lot with cropping/image resizing. Because I shoot film, I have to scan my negatives and crop each frame out of the batch scan. My scanner scans four strips of six images each (24 frames/crops per scan).</p>
  
  <p>A friend of mine wrote me a script for Python that automatically crops images based on inputted coordinates. The script works well but it has problems in the file format of the exported images. </p>
  
  <p>From the scan, each frame should produce a 37mb TIFF at 240 DPI (when I crop and export in Adobe Lightroom). Instead, the Cropper outputs a 13mb 72 DPI TIFF.</p>
  
  <p>Terminal (I'm on Mac) warns me about a "Decompression Bomb" whenever I run the Cropper. My friend is stumped and suggested I ask Stack Overflow.</p>
  
  <p><strong>I've no Python experience. I can provide the code he wrote and the commands Terminal gives me.</strong></p>
  
  <p>Thoughts?
  This would be greatly appreciated and a huge HUGE timesaver.
  THANK YOU!</p>
  
  <pre><code>ERROR MESSAGE: /Library/Python/2.7/site-packages/PIL/Image.py:2192: DecompressionBombWarning: Image size (208560540 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
  </code></pre>