Files
sigal/README

46 lines
1008 B
Plaintext
Raw Normal View History

2011-04-11 21:47:00 +02:00
sigal - simple gallery generator
================================
2010-10-15 23:16:55 +02:00
2011-04-11 21:47:00 +02:00
This python script prepares a gallery of images for [Piwigo]() gallery script.
2011-04-12 23:23:26 +02:00
It resizes images, creates thumbnails with some options (squared thumbs, ...).
[Piwigo]: http://www.piwigo.org/
2010-10-15 23:16:55 +02:00
Dependencies
------------
- Python Imaging Library (PIL)
2010-10-15 23:16:55 +02:00
- exiv2 (for exif datas)
2011-04-11 21:47:00 +02:00
on Ubuntu :
> sudo apt-get install python-imaging python-pyexiv2
2010-10-15 23:16:55 +02:00
2011-04-11 21:47:00 +02:00
on Fedora :
> yum install python-imaging pyexiv2
2010-10-15 23:16:55 +02:00
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:
2011-04-11 21:47:00 +02:00
> /path/to/sigal/sigal.py input_dir output_dir
2010-10-15 23:16:55 +02:00
Settings
--------
2011-04-11 21:47:00 +02:00
Adapt setting to your needs in the configuration file (`sigal.conf`):
2010-10-15 23:16:55 +02:00
- 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