# VideoResizeMode

> How the video clip's images will be resized during transcoding.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public enum VideoResizeMode
```

## Remarks

When choosing a mode that may result in a change in aspect ratio, use the keepRatio property to control the addition of padding.

## Fields

| Value                                                                                             | Description                                                    |
| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [CustomSize](/engine/6000.0/script-reference/unityeditor/videoresizemode/customsize.md)           | Resulting size will be driven by customWidth and customHeight. |
| [HalfRes](/engine/6000.0/script-reference/unityeditor/videoresizemode/halfres.md)                 | Half width and height.                                         |
| [OriginalSize](/engine/6000.0/script-reference/unityeditor/videoresizemode/originalsize.md)       | Same width and height as the source.                           |
| [QuarterRes](/engine/6000.0/script-reference/unityeditor/videoresizemode/quarterres.md)           | Quarter width and height.                                      |
| [Square1024](/engine/6000.0/script-reference/unityeditor/videoresizemode/square1024.md)           | Fit source in a 1024x1024 rectangle.                           |
| [Square256](/engine/6000.0/script-reference/unityeditor/videoresizemode/square256.md)             | Fit source in a 256x256 rectangle.                             |
| [Square512](/engine/6000.0/script-reference/unityeditor/videoresizemode/square512.md)             | Fit source in a 512x512 rectangle.                             |
| [ThreeQuarterRes](/engine/6000.0/script-reference/unityeditor/videoresizemode/threequarterres.md) | 3/4 width and height.                                          |
