---
Product: psd
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/psd/python/layerresource
---

# LayerResource

## Overview

`LayerResource` is a class in Aspose.PSD FOSS for Python.
Inherits from: `ABC`.

This class declares 1 method for LayerResource objects in Python programs.
Available methods include: `save`.
Public members are accessible to any Python application after installing the Aspose.PSD FOSS for Python package.
Properties: `key`, `length`, `psd_version`, `signature`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `key` | `int` | Read | Gets the key. |
| `length` | `int` | Read | Gets the length. |
| `psd_version` | `int` | Read | Gets the psd version. |
| `signature` | `int` | Read | Gets the signature. |

## Methods

| Signature | Description |
|-----------|-------------|
| `save(stream_container: StreamContainer, psd_version: int)` | Calls save(stream_container, psd_version) on this LayerResource instance. |

## See Also

- [Aspose.PSD for Python — Enterprise API Reference](https://reference.aspose.com/psd/python-net/)