---
title: "PsdProcessor Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Templates_PsdProcessor.htm
product: "Graphics Mill"
---

# PsdProcessor Class
 
Renders PSD files and lets you replace the content of their layers.
 
**Namespace:** [Aurigma.GraphicsMill.Templates](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Templates.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Templates (in Aurigma.GraphicsMill.Templates.dll)
 
## Syntax
  
```csharp
public sealed class PsdProcessor
```
 
## Remarks
  
You can render a PSD file to an image file, to a stream, or to a [GraphicsContainer](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_GraphicsContainer.htm.md). The class applies layer groups, layer masks, clipping masks, and vector masks.
 
To change the content of a PSD file, you do not need to iterate through the [Frames](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_Psd_PsdReader_Frames.htm.md) collection. Set one of the callbacks instead: [FrameCallback](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Templates_PsdProcessor_FrameCallback.htm.md), [TextCallback](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Templates_PsdProcessor_TextCallback.htm.md), [StringCallback](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Templates_PsdProcessor_StringCallback.htm.md), or [ShapeCallback](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Templates_PsdProcessor_ShapeCallback.htm.md). A callback receives the current layer and returns the content to draw. The class does the PSD parsing and rendering for you.
 
## Inheritance Hierarchy
  
- System.Object
    - Aurigma.GraphicsMill.Templates.PsdProcessor
   
## See Also

### Reference

- [PsdProcessor Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Templates_PsdProcessor.htm.md)
- [Aurigma.GraphicsMill.Templates Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Templates.htm.md)

### Manual

- [Working with Photoshop (PSD) Files](https://www.graphicsmill.com/docs/gm/working-with-psd-files.htm.md)
