I went to my brother’s wedding last week. During the reception was a slide show of their pictures, coupled with music. It was a great presentation. But what I noticed was that I could do this as well. The music wasn’t attached to the slide show, it was a separately playing live music. And the slide show, which was run on a Mac laptop, was the built-in Mac slide show utility. F-Spot, GThumb, or the image viewer, which are all built into Ubuntu, can do the same thing that that Mac was doing–fading in and out picture after consecutive picture. And with RhythmBox, XMMS, or your favorite media player playing in the background, you got yourself a whole Linux roadshow. Of course, getting great pictures to show is another matter altogether, but a matter out of the scope of this post.
During that trip as well, I visited an old friend that now runs Photo Story Creations, a shop that puts your pictures on mugs, pillows, even tiles, as a mosaic or just a straightforward picture. Imagination’s the limit to what you can do with their products, you just need to tell them what you want to be done with your pictures. Having previously used trialware mosaic programs during my Windows days, I poked around in Synaptics Package Manager to see if I can find a mosaic application for Linux.
Sure enough, there was a fast, little program called Metapixel. It´s actually two small programs: metapixel-prepare and the main metapixel program. The metapixel-prepare program lets you choose a source directory of pictures and a target directory to use as a picture library for metapixel. Creating a mosaic takes around 3 1/2 minutes, which is already comparatively faster to other mosaic programs. But this speed advantage really comes in handy when you´re making mosaics using the library, since only half a minute is used for the actual creation of the mosaic. The other 3 minutes is used for preparing the library, which is a one time deal in this case.
One thing that might turn off some users is that Metapixel is a command-line program. But it’s not really that hard to use. To prepare the library, you use the following command: metapixel-prepare Desktop/sourcepictures Desktop/librarydir
Afterwards, just type in
metapixel --metapixel input.jpg output.png --library Desktop/librarydir --cheat=30
The input file is the target image that you want your mosaic will look like and the output is, of course, the final image that will be produced. Notice that I put in a –cheat=30. What that actually does is overlay a 30%-opaque final image on to the mosaic, similar to the flower mosaic above. Unless you have a really vast library of pictures with all possible colors and you’re going to create a pretty big mosaic, this option can come in pretty handy. There are also other options, like the collage option. The difference between a collage and a classic mosaic is that the classic mosaic lays out your pictures in a perfect grid, while pictures in a collage can overlap each other.
Another cool tool that should be in the toolbox of the Linux photographer is Hugin Panorama Photo Stitcher. It features tools for correcting perspective, and of course, stitching tools for creating panoramas.
To stitch photos, all you need to do is create points in your pictures to help the program automatically stitch your photos. In the example above, Hugin automatically adjusted for the perspective distortion effect of my camera, stitching three photos seamlessly. You may also want to check out the official Hugin stitching online tutorial.