Popular recipes by Elliot Hallmark http://code.activestate.com/recipes/users/4180468/2012-01-09T03:18:01-08:00ActiveState Code Recipesmouse click to crop many large photos quickly [Python, PIL, pygame] (Python) 2012-01-09T03:18:01-08:00Elliot Hallmarkhttp://code.activestate.com/recipes/users/4180468/http://code.activestate.com/recipes/578005-mouse-click-to-crop-many-large-photos-quickly-pyth/ <p style="color: grey"> Python recipe 578005 by <a href="/recipes/users/4180468/">Elliot Hallmark</a> (<a href="/recipes/tags/crop/">crop</a>, <a href="/recipes/tags/images/">images</a>, <a href="/recipes/tags/jpeg/">jpeg</a>, <a href="/recipes/tags/mouse/">mouse</a>, <a href="/recipes/tags/pil/">pil</a>, <a href="/recipes/tags/png/">png</a>). </p> <p>Waste no mouse clicks making multiple crops on many image files. Through pygame interface with pan, zoom and next/previous image. Saves files at new resolution and serialized names in a seperate folder. the mainloop() and helper functions are easy to reuse, but I include a cruddy text based interface if needed. if not, comment out most of __main__().</p> <p>Requires PIL (python imaging library) and pygame.</p>