Macaw OS C reference

Function imap_picture

#include <macaw.h>
int imap_picture(int m);

Gives you a 256 x 256 picture of the imported map's tiles, each in its sprite's place, laid out like a sprite sheet.

Parameters

mint
The imported map's number.

Returns int

The picture's number, or 0 if the map brought no tiles with it.

In Maps made elsewhere, with importmap, importmapimage, imap_layers, imap_layername, imap_size, imap_get, imap_used, imap_notes, imap_note, imap_free.