nuno-faria/tiler has 6,063 GitHub stars and 415 forks. GitHot measured -1 stars in 24 hours and -1 in 7 days. Last checked 2026-11-11 20:21 UTC. Last push 2023-10-31.
So werden diese Zahlen gemessen
👷 Build images with images
Gemessener Sternzuwachs
- in 24h
- -1
- in 7 days
- -1
- in 15 days
- Aktualisierung verzögert
- in 1 month
- Aktualisierung verzögert
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original
👷 Build images with images.
About
Tiler is a tool to create an image using all kinds of other smaller images (tiles). It is different from other mosaic tools since it can adapt to tiles with multiple shapes and sizes (i.e. not limited to squares).
An image can be built out of circles, lines, waves, cross stitches, legos, minecraft blocks, paper clips, letters, ... The possibilities are endless!
Installation
- Clone the repo:
git clone https://github.com/nuno-faria/tiler.git; - Install Python 3;
- Install pip (optional, to install the dependencies);
- Install dependencies:
pip install -r requirements.txt
Usage
- Make a folder with the tiles (and only the tiles) to build the image;
- The script
gen_tiles.pycan help in this task; it builds tiles with multiple colors based on the source tile (note: its recommended for the source file to have an RGB color of (240,240,240)). It is used aspython gen_tiles.py path/to/imageand creates a folder with a 'gen_' prefix in the same path as the base image.
- The script
- Run
python tiler.py path/to/image path/to/tiles_folder/.
Configuration
All configurations can be changed in the conf.py file.
gen_tiles.py
DEPTH- number of divisions in each color channel (ex: DEPTH = 4 -> 4 * 4 * 4 = 64 colors);ROTATIONS- list of rotations, in degrees, to apply over the original image (ex: [0, 90]).
tiler.py
COLOR_DEPTH- number of divisions in each color channel (ex: COLOR_DEPTH = 4 -> 4 * 4 * 4 = 64 colors);IMAGE_SCALE- scale to apply to the image to tile (1 = default scale);RESIZING_SCALES- scale to apply to each tile (ex: [1, 0.75, 0.5, 0.25]);PIXEL_SHIFT- number of pixels shifted to create each box (ex: (5,5)); if None, shift will be the same as the tile dimension);
OVERLAP_TILES- if tiles can overlap;RENDER- render image as its being built;POOL_SIZE- multiprocessing pool size;IMAGE_TO_TILE- image to tile (ignored if passed as the 1st arg);TILES_FOLDER- folder with tiles (ignored if passed as the 2nd arg);OUT- result image filename.
Examples
Circles
Various sizes

Original cake image by pongsakornred from FLATICON.
Fixed
- 10x10

- 25x25

- 50x50

Paper clips

Cross stitch (times)


Hearts

Legos

Minecraft blocks

Stripes (lines)

At
Ähnliche Projekte entdecken
codecrafters-io/build-your-own-x
Meistere das Programmieren, indem du deine Lieblingstechnologien von Grund auf neu erschaffst.
562,096 Sternepublic-apis/public-apis
Eine gemeinschaftliche Liste kostenloser APIs
498,491 Sternemorluto/rea
Mit Agenten alles per Reverse Engineering untersuchen, vom Verhalten der Anwendung bis hin zu nativen Binärdateien.
454,827 Sterneopenclaw/openclaw
Die KI, die wirklich Dinge erledigt. Jedes Betriebssystem, jede Plattform. Auf die Hummer-Art. 🦞
394,406 Sterne