mosaic
mosaic copied to clipboard
Python script for creating photomosaic images
Currently, the same image is used for many tiles. Even in the GameOfThrones example, there are several duplicates. Provide a way to increase number of unique tiles. How can we...
i seem to be getting a memory error: ``` Reading tiles from C:\Users\vorte\Desktop\16x\assets\minecraft\textures\block\... Processed 907 tiles. Processing main image... Traceback (most recent call last): File "C:\Users\vorte\Desktop\findstuff\mosaic.py", line 234, in mosaic(sys.argv[1],...
Since pillow "Added support for encoding and decoding iTXt chunks" https://github.com/python-pillow/Pillow/pull/818 Certain images with those chunks are now unpicklable. https://github.com/python-pillow/Pillow/issues/1434 Causing this failure: ``` Traceback (most recent call last): File...
C:\code\sold>python driver.py flag.jpg Images 'python' is not recognized as an internal or external command, operable program or batch file. C:\code\sold>c:\Python27\python.exe driver.py flag.jpg Images Reading tiles from 'Images'... Processed 60 tiles....
Sometimes the mosaic can be improved by not only using the best fitting tiles, but one of the few best matching ones. This PR keeps track of all tile scores...
1. Added the ADJUST_COLORS option to adjust each tile's color balance to match the target fragment better. Produces better visual quality with fewer tiles, especially when there are few source...