The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

interleave.pl - given two identically sized images create an image twice the height with interleaved rows from the source images.

SYNOPSIS

  perl interleave.pl even_input odd_input output

DESCRIPTION

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.

AUTHOR

Tony Cook <tony@imager.perl.org>

Thanks to Dan Oppenheim, who provided the impetus for this sample.

REVISION

$Revision: 718 $