interleave.pl - given two identically sized images create an image twice the height with interleaved rows from the source images.
perl interleave.pl even_input odd_input output
This sample produces an output image with interleaved rows from the two input images.
Multiple implementations are included, including two that revealed bugs or limitations in Imager, to demonstrate some different approaches.
See http://www.3dexpo.com/interleaved.htm for an example where this might be useful.
Tony Cook <firstname.lastname@example.org>
Thanks to Dan Oppenheim, who provided the impetus for this sample.