> For the complete documentation index, see [llms.txt](https://docs.meshmorpher.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meshmorpher.com/graph/texture/load-texture-from-file.md).

# Load Texture From File

<div align="left"><figure><img src="/files/XSNXQEd9LoWeMKOwJAcR" alt=""><figcaption></figcaption></figure></div>

```
/**
 * Node that loads a texture from an external image file.
 * 
 * Imports texture data from disk files (PNG, JPG, TGA, etc.)
 * with configurable compression and color space settings.
 * 
 * Usage:
 * 1. Browse to select an image file
 * 2. Configure texture settings
 * 3. Output provides the loaded texture
 */
```

| Parameter                                            | Description                                          |
| ---------------------------------------------------- | ---------------------------------------------------- |
| <p>File</p><p><code>FilePath</code> </p>             | Texture asset to load                                |
| <p>Texture Name Suffix</p><p><code>string</code></p> | The resolution of the preview box                    |
| <p>Compression Type</p><p><code>enum</code></p>      | The compression type to be used when loading texture |
| <p>sRGB</p><p><code>boolean</code></p>               | Wether to enable sRGB                                |
| <p>Preview Size</p><p><code>integer</code></p>       | The resolution of the preview box                    |
