mirror of https://github.com/saimn/sigal.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
15 years ago | |
|---|---|---|
| sigal | 15 years ago | |
| test | 15 years ago | |
| .gitignore | 16 years ago | |
| README | 15 years ago | |
| __init__.py | 16 years ago | |
| runtests.py | 15 years ago | |
| sigal.py | 15 years ago | |
README
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