Command-line photomosaic generator