# Editor.ProjectPublisher.CropToSquare

```csharp
static Bitmap CropToSquare(Bitmap image)
```

The middle of this image, cut square - Steam shows workshop items' main thumbnails square. A new bitmap.

### Parameters

- `image` (`Bitmap`)

### Returns

`Bitmap`

Declared in [Editor.ProjectPublisher](/api/Editor.ProjectPublisher).
Assembly: `Sandbox.Tools`.
