montage photos with soft, blurred transition
Posted: 2008-04-22T14:37:08-07:00
I often have to arrange photos in a row with soft transitions like in panoramaphotos. Until now I've done that in Gimp. But it's a very time-consuming task, so I wanted to do it script-based. Here is my first attempt (assuming pic1 and pic2 being 150x150px):
Thanks for help
Christian
Normally I have a set of images (with different sizes) in a directory that have to be appended. So it would be nice if my script could do this task automatically. For this taskt it's silly that I have to define the final image-size at the beginning. It would be much nicer if I just could tell montage to append the images with a blurred transition. But I didn't find a way to do that.#! /bin/bash
convert -size 250x150 xc:yellow \
pic1.jpg \
-composite \
\( pic2.jpg \( \
\( -size 150x50 gradient:transparent-opaque -rotate -90 \) \
\( -size 100x150 xc:white \) \
+append \) \
-gravity East -compose CopyOpacity -composite \) \
-geometry +100+0 \
-composite \
out.png && feh out.png
Thanks for help
Christian