MCPcopy Index your code
hub / github.com/K0lb3/UnityPy / get_image_from_texture2d

Function get_image_from_texture2d

UnityPy/export/Texture2DConverter.py:237–251  ·  view source on GitHub ↗

Converts the given Texture2D object to PIL Image.

(
    texture_2d: Texture2D,
    flip: bool = True,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_imageFunction · 0.85

Calls 1

parse_image_dataFunction · 0.85

Tested by

no test coverage detected