---
Product: psd
Platform: net
Page Type: docs
Canonical URL: https://docs.aspose.org/psd/net/getting-started/quickstart
---

# Quickstart

A first working example: load a PSD/PSB document, inspect its header and layers, make a supported metadata edit, and save the result.

## Overview

This example loads a PSD/PSB document, prints its header and layer metadata, renames the first layer, and saves the result.

---

### Prerequisites

| Requirement | Detail |
|---|---|
| .NET SDK | .NET 10.0 or later |
| Package | Aspose.PSD FOSS for .NET installed — see [Installation](../installation/) |

---

1. Load the document and print its header.

```csharp
using Aspose.PSD.FileFormats.Psd;

using var image = (PsdImage)Image.Load("input.psd");
Console.WriteLine($"Width: {image.Width}, Height: {image.Height}");
Console.WriteLine($"ColorMode: {image.ColorMode}, Version: {image.Version}");
```

2. Print each layer's metadata.

```csharp
foreach (Layer layer in image.Layers)
{
    Console.WriteLine($"{layer.Name}: {layer.Bounds}, Visible={layer.IsVisible}");
}
```

3. Rename the first layer and save the result.

```csharp
if (image.Layers.Length > 0)
{
    image.Layers[0].Name = $"{image.Layers[0].Name} (edited)";
}

image.Save("output.psd");
```

---

### Next Steps

- [Core API](../../developer-guide/core-api/) for the full `PsdImage`/`Image` reference
- [Layers](../../developer-guide/layers/) for the full layer metadata reference
- [Core Exceptions](../../developer-guide/core-exceptions/) for load/save error handling

## See Also

- [Aspose.PSD — Enterprise Documentation](https://docs.aspose.com/psd/)