phomo vs photomosaic
phomo
github.comphotomosaic
danielballan.github.ioSide by side
| Figure | phomo | photomosaic |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | Yes | — |
| Web | Yes | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| API | Yes | — |
| Plans published | 2 | 1 |
| Spec score · Photo Mosaic Software | 8.8 (#2) | 8.3 (#4) |
| Installation | PyPI documents installation with pip and offers a separate phomo[cuda] extra. | The package can be installed with pip and requires Python 3.5 or later according to the installation page. |
| Purpose | phomo creates photographic mosaics by arranging tile images to recreate a master image. | Photomosaic assembles images from a collection into a mosaic that looks like one large photo when viewed from a distance. |
Plans
In their own words
phomo
phomo is a free tool that creates photographic mosaics by arranging tile images to recreate a master image. It compares color distributions between tiles and regions of the master, then assigns tiles using a linear sum assignment algorithm. The project can be installed with pip as a Python package or run through its `phomo` command, which accepts a master image and a directory of tile images. Command-line options include cropping and resizing the master and tiles, black-and-white conversion, grid display, and control over how often tiles appear. Matching choices include greyscale, norm, and luv_approx distance metrics, color equalization, and color-distribution matching. A greedy assignment mode is described as improving performance while reducing accuracy. CUDA acceleration is available through an extra, requiring a CUDA-compatible GPU and toolkit. The package requires Python >=3.9 and <3.13, runs on Linux, macOS, and Windows, and lists PNG as its output format. It is published under the MIT License.
photomosaic
photomosaic is a free, open-source Python package that builds a mosaic from a collection of images, so the assembled tiles form a larger picture when viewed at a distance. It can mix tile sizes and arrange them irregularly or with overlap. Detailed parts of the target can be subdivided into smaller tiles, and a mask can guide the layout to roughly follow an edge. For color matching, photomosaic can adjust the target palette to suit the available tile images and uses colorspacious for perceptual color matching. The package can retrieve tile images from Flickr search results or albums through Flickr’s public API. Downloaded images include JSON attribution information; search queries can be filtered by license, while album downloads do not programmatically check licenses. The documentation says a pool of about 300 images is typically the minimum for good results. Install it with pip or from source; the installation page specifies Python 3.5 or later. An optional parallel extra provides experimental parallelism. The project is BSD-3-Clause licensed, and its newest listed release note is version 0.3.1, dated 21 June 2019.