Polyfoto is a free Windows Command Line tool for creating mosaic images from images.
This tool can create a mosaic from a folder of images. You just need an image import folder and a target image. With the appropriate commands it will make a copy of the target image using the images in the folder as pixels.
The tool requires only one simple command from you with which you can specify a custom number of rows for the target (destination) image. It is simple to use and you only need a little command line knowledge.
Polyfoto is also an open source tool and you can find its source code here on GitHub along with minimal documentation, as well as an opportunity to contribute to its development if you know how to program.
How to run it:
step 1 : Polyfoto is based on Python, so make sure you have it installed on your computer or server. Then you simply open the command line and download the GitHub repository by running the command below.
git clone https://github.com/shanedrabing/polyfoto && cd polyfoto
Alternatively, you can do it manually by downloading the ZIP from here. Then you need to extract it somewhere on your computer and open Command Prompt or PowerShell in that extracted folder.
step 2 : Now, run the following command to install the dependencies and configure them on your computer.
python setup.py install
step 3 : You can now use it. Below is the command syntax to run. Just run this command and then you can see the progress of building the target image. However, note that the accuracy and similarity of the target image is customizable based on the type and variety of input images you provide.
Syntax : python polyfoto.py -f ImageToRecreate -d FolderOfImages -o OutputImage -n NumberOfRows
Example : python polyfoto.py -f input.png -d sources -o output.png -n 16
After the process is complete, you can find the output image created in the current folder. You can use this tool this way whenever you want to create mosaics from images.
Polyfoto is truly a unique command line tool. Creating artistic images is a hobby of many people and if you are one of them, then you will love this simple tool that does what it promises.
Although it will take a while to get the hang of it, once you get the hang of it, it will be very easy to use for creating mosaic images.
