Automatically organizes images by aspect ratio.
PyImgSort is a simple utility that automatically organizes a directory of image files into subdirectories by their aspect ratio. Its intended use is the sorting of large ‘wallpaper’ directories.:
---------- ON *NIX ---------- $ pyimgsort OR $ pyimgsort /optional/absolutely/path/to/directory OR $ python /path/to/pyimgsort.py /optional/absolute/path/to/directory OR $ python /path/to/pyimgsort.py >>> Enter a directory you'd like to sort: absolute/path/to/directory ----------- ON WINDOWS: ----------- Open a command prompt and type: C:\path\to\python.exe C:\path\to\pyimgsortgui.py OR C:\path\to\python.exe C:\path\to\pyimgsort.py (Or just double-click on whichever script)
- Python 2.6 or later
- The Python Imaging Library >= 1.1.6 (http://www.pythonware.com/products/pil/)
- In Unix: Unpack the tarball, open a terminal, navigate to the directory in which you unpacked the tarball, and type (as admin, i.e., “su” or “sudo”) python setup.py install
- In Windows, just run the .exe as normal. The script will be installed to C:\Pythondir\Lib\site-packages
I’m very new to Python.
This is an ugly, barely-functional script. It’s not really meant for general consumption, but you’re more than welcome to use it if you think you can get some use out of it. For that matter, you’re also more than welcome to modify it, copy it, distribute it (free of charge), etc. to your heart’s content.
Thanks also to
From the Penny Arcade forums (http://forums.penny-arcade.com)
For fixing my broken code.
GPL version 3. See LICENSE.txt for more info.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|PyImgSort-0.1.6.linux-x86_64.exe (90.9 kB) Copy SHA256 hash SHA256||Windows Installer||any||Aug 14, 2010|
|PyImgSort-0.1.6.tar.gz (37.2 kB) Copy SHA256 hash SHA256||Source||None||Aug 14, 2010|