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

# LayerRecordWriter

## Overview

`LayerRecordWriter` is a class in Aspose.PSD FOSS for Python.

Writes PSD/PSB layer records from the in-memory Layer model.

This class declares 1 method for LayerRecordWriter objects in Python programs.
Available methods include: `write`.
Public members are accessible to any Python application after installing the Aspose.PSD FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `write(layer: Layer, writer: BigEndianWriter, is_large_document: bool)` | Writes one layer record using PSD- or PSB-sized channel lengths. |

## See Also

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