image-merge
is a command line program that merges multiple images using a variety of template options.
- outputs standard 4" X 6" (300dpi) jpeg images for printing
- automatically rotates and re-sizes images to fit
- combines 2, 3, or 4 source images
- combines images by setting a maximum height in cm
Clone master branch. From a terminal inside the cloned directory type:
python setup.py install
image-merge --help
test images are created and saved to /tmp/img#-0001.img
where #
is the number of images per page.
install py.test:
pip install pytest
from the root directory run the tests:
py.test
If you need to change the output directory, set the environment variable IMAGE_MERGE_TEST_DIR
to the directory you want.
- For example:
export IMAGE_MERGE_TEST_DIR="/home/username/my-dir/" py.test
or
IMAGE_MERGE_TEST_DIR="/home/username/my-dir/" py.test
If you would like to contribute to this project, I'd be happy to merge in any pull requests that enhance the features or performance.
- multi-threading
- colour profile aware
- different page sizes
- more page layout templates