tile op• Datenarten: sprites → rgba
• Aufruf: import gfx2d; gfx2d.tilemap_render(tiles, indices, empty=-1) (oder opsgfx2d.get("tilemap_render"))
Zeichnet ein Raster von Kachelindizes in ein `rgba`-Bild.
> Die ausführliche Beschreibung unten ist der Originaltext — Zusammenfassung und Überschriften sind übersetzt.
`tiles is a list of equally sized rgba` tiles (what
:func:sprite_sheet_slice returns) or an `(N, th, tw, 4)` array.
`indices is a 2-D **integer** array; a cell equal to empty` is left
transparent. The result is `(rows*th, cols*tw, 4)`.
Every cell is a copy, not a resample, so the output equals the tile exactly.
Raises ValueError: a float index array (a float "index" is a rounding waiting
to happen), an index outside the tile set, tiles of differing shapes, an
output past :data:MAX_PIXELS.
• Katalog der Beispieldaten (Download-URLs / Lizenzen) — 2-D nutzt skimage.data (BSD/Public Domain) plus synthetische Bilder, 3-D nennt Download-URLs echter Datenquellen (Stanford, PDS, …).
• Herkunft und Literatur der Operatoren — die Quellen der Forschung/Verfahren, auf denen diese Operatorfamilie beruht.
• Der kanonische Algorithmus (Autor, Jahr) und seine Anwendungen stehen im Familienleitfaden oben.
• gfx2d_scene — py -3.11 examples/gfx2d_scene.py
rgba als Eingabe)premultiply · alpha_composite · sprite_blit · sprite_transform · sprite_sheet_slice · nine_slice
tile)*Provenance: gfx2d.py — GFX2D Operator-Registry. Diese Notiz wird von tools/opdocs.py md erzeugt (nicht von Hand bearbeiten).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.