Tony Cook > Imager-0.94 > interleave.pl

Download:
Imager-0.94.tar.gz

Annotate this POD

Website

CPAN RT

New  39
Open  16
View/Report Bugs
Source   Latest Release: Imager-0.99_02

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 <tonyc@cpan.org>

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

REVISION ^

$Revision$

syntax highlighting: