AutoTiles Helper is a set of scripts providing functionalities to expand compressed tilesets into a set of 47 tiles, and get their respective index when placed into a room based on adjacent tiles. You just have to provide the tileset, and the scritps will automatically figure out which tile is appropriate for a particular spot.
FEATURES
If you are just interested in the tile expander functionality, download the sample project:
LINKS
Documentation and install guide
My assets: FormLESS (UI framework), GMGL (autoupdater & launcher), GMSDB (database system), Jade UI (UI sprites)
End User Licence Agreement (EULA).