# Editor.Pixmap.GetPng

```csharp
byte[] GetPng()
```

Returns the raw bytes of a PNG file that contains this pixel maps image.
Internally writes and deletes a file, so be careful using it often.

### Returns

`byte[]`

Declared in [Editor.Pixmap](/api/Editor.Pixmap).
Assembly: `Sandbox.Tools`.
