Files
sigal/README
2011-04-12 23:23:26 +02:00

46 lines
1008 B
Plaintext

sigal - simple gallery generator
================================
This python script prepares a gallery of images for [Piwigo]() gallery script.
It resizes images, creates thumbnails with some options (squared thumbs, ...).
[Piwigo]: http://www.piwigo.org/
Dependencies
------------
- Python Imaging Library (PIL)
- exiv2 (for exif datas)
on Ubuntu :
> sudo apt-get install python-imaging python-pyexiv2
on Fedora :
> yum install python-imaging pyexiv2
The script should also work on other system (Windows, Mac) but this has not be
tested yet.
Usage
-----
go in the directory of images to process and launch the script:
> /path/to/sigal/sigal.py input_dir output_dir
Settings
--------
Adapt setting to your needs in the configuration file (`sigal.conf`):
- Size of images and thumbnails
- JPG quality
- Thumbnails prefix
Options
-------
Some features are optionnal (1=enable / 0=disable):
- Add a copyright on the images
- Keep big images
- Keep exif datas
- Make squared thumbnails