{{< psd/tize >}}
## RasterImage.SetPixel method

Sets an image pixel for the specified position.

```csharp
public void SetPixel(int x, int y, Color color)
```

| Parameter | Type | Description |
| --- | --- | --- |
| x | Int32 | The pixel x location. |
| y | Int32 | The pixel y location. |
| color | Color | The pixel color for the specified position. |

### See Also

* struct [Color](../../color/)
* class [RasterImage](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


