def _load_texture(file_name, resolver):
    '\n    Load a texture from a file into a PIL image.\n    '
    file_data = resolver.get(file_name)
    image = PIL.Image.open(util.wrap_as_stream(file_data))
    return image
Load a texture from a file into a PIL image.
def _load_texture(file_name, resolver):
    '\n    \n    '
    file_data = resolver.get(file_name)
    image = PIL.Image.open(util.wrap_as_stream(file_data))
    return image