Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dnouri/photo_splitter

GUI for cropping a large amount of images quickly.
https://github.com/dnouri/photo_splitter

Last synced: 2 months ago
JSON representation

GUI for cropping a large amount of images quickly.

Awesome Lists containing this project

README

        

What is it
==========

This is a copy of Greg Lavino's awesome `photo_splitter.py`, with some
minor adjustments by myself.

Greg published his original code in a `ubunutuforums.org thread
`_.

`photo_splitter.py` is very useful if you need to crop a large amount
of images very quickly. Simply select the areas in the image that you
want to crop, click "Go" and photo_splitter will create one image file
for each crop area for you, in the same folder as the original image.

Here's a screenshot from the `StackOverflow question
`_ which
features `photo_splitter.py` as the solution:

.. image:: http://i.stack.imgur.com/CS2io.png

Installation
============

Before you can run `photo_splitter.py`, you'll need to install these
libraries::

sudo apt-get install python-tk python-imaging python-imaging-tk

Run
===

An example::

~/photo_splitter/photo_splitter.py ~/images/dog.jpg

Make a for loop to process a bunch of images::

for img in ~/images/*; do ./photo_splitter.py $img; done