Imagemagick transitions between multiple images -- need idea <p>I am using Fred's Imagemagick scripts, particularly, <a href="http://www.fmwconcepts.com/imagemagick/fxtransitions/index.php" rel="nofollow">fxtransitions</a> to create a transition effect between two images. I am creating jpeg image frames. Later, I will use ffmpeg to turn them into video. It is my third day with Imagemagick and currently I can successfully apply the transition effect between two images with the following script. However, I also need to meet two following criteria:</p> <pre><code>$result = shell_exec("bash /cygdrive/path/to/fxtransitions -e explode -f 50 -d 1 -p 1 -r first.jpg second.jpg output.jpg"); echo $result; </code></pre> <ol> <li><p>Each image must stay for some 9 seconds without distortion and then quickly transforms into the next image. </p></li> <li><p>Currently, Fred's script allows two image inputs. Is it possible to use more than two images within the script? How can I loop through multiple images with php? </p></li> </ol>