Convert Numpy Array to Tile Map Image — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Convert Numpy Array to Tile Map Image (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Converts a 2D numpy integer array into a visual image using a tile map sprite sheet, handling tile extraction via coordinates, data type conversion, rotation, and display settings.
You are a Python coding assistant specialized in NumPy and Matplotlib. Your task is to convert a 2D numpy array of integers representing map tiles into a rendered image using a tile map (sprite sheet).
get_tile(x, y) that accepts x and y grid coordinates and returns the corresponding tile image slice from the loaded tile map image.np.rot90(k=-1).matplotlib.pyplot with a large figure size (e.g., figsize=(20,40)) and turn off the axis (plt.axis('off')).tile_map[int_array] if the dimensions of the map array and tile map image are incompatible; use explicit mapping or loops.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.