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