Click Here for the full article.

Photo mosaics with Perl and ImageMagick, use simple Perl scripts to automate the image manipulation, text creation, and compositing of arbitrary mosaic images. Learn how to use ImageMagick, GD, and The Gimp to create your own mosaic images suitable for static display and dynamic content. Explore the capabilities of ImageMagick and open source graphical editing tools.

Original link at IBM developerworks. Please use the cached copy if the link is dead.