I have a collection of images and an image that I want to generate from that collection.
What software is there available for Ubuntu for generating a mosaic image? How to do it?
A very nice program for doing all sorts of photomosaics is in the repositories and is called
The readme is available at the github page or from
Nevertheless, here's an example of how I used
There is a perl script that comes with
1) This library folder needs to be created before you run the
2) Then to generate the tiles from the selected folder, the minimum command would have the form:
If you wish
As an example, the command I used was:
3) To construct your photomosaic you must specify the location of this library of tiles, specify the image to be metapixelled and designate an output file (which must be a .png file). The input jpg can be any kind of picture and any size (see note on scale below).
I used the following commands in my case:
The full options for metapixel can be found by entering
The results will differ according to which pictures you have chosen for your library and your input picture.
The process will also take a while if you select thousands of pictures for the mosaic, and will also consume a fair bit of memory.
Below is a photomosiac created with my own photos (using the commands above):
You can try pixelize. To install search for pixelize on the Software Center or type on Terminal:
Description from it's man page:
Try Andrea Mosaic under Wine, which works perfectly in a GUI and creates awesome Mosaics based on your pictures.
You simply choose the image that you wish to represent with pictures, add the galleries of pictures that you wish to use for that purpose and with minimal adjustments you'll be able to create amazing images like this one:
Low resolution image, the mosaic is too big. The original can be seen in my profile's picture.
From the site: