# Using the Python API to find out the texture type of any given texture file?

**URL:** <https://forums.unrealengine.com/t/using-the-python-api-to-find-out-the-texture-type-of-any-given-texture-file/615360>\
**Category:** Editor Scripting\
**Tags:** Python, unreal-engine, UE5-0, question\
**Created:** [July 27, 2022, 9:19am UTC](https://forums.unrealengine.com/t/using-the-python-api-to-find-out-the-texture-type-of-any-given-texture-file/615360 "2022-07-27T09:19:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IMGoose](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/imgoose/32/88718_2.png) [@IMGoose](https://forums.unrealengine.com/u/IMGoose)\
**Post date:** [July 27, 2022, 9:19am UTC](https://forums.unrealengine.com/t/using-the-python-api-to-find-out-the-texture-type-of-any-given-texture-file/615360/1 "2022-07-27T09:19:08Z")

</div>

If I select any given texture file in the content browser, is there any python script that I can run that would tell me if this is a normal map, roughness map, lighting map etc?
