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