# Editor.Pixmap.SaveJpg

```csharp
bool SaveJpg(string filename, int quality = 70)
```

Save the pixel map as a JPEG file at given location.

### Parameters

- `filename` (`string`): A full, valid absolute target path. Will not create directories on its own.
- `quality` (`int`), default `70`: JPEG quality, 0 to 100.

### Returns

`bool`: Whether the file was created or not.

Declared in [Editor.Pixmap](/api/Editor.Pixmap).
Assembly: `Sandbox.Tools`.
