Load with pyglet images (experimental):
>>> from pytmx.util_pyglet import pyglet_image_loader >>> tmx_data = load_pygame('map.tmx')