# Performing a Resize Operation

This code snippet shows how to resize an image.

## C++

```cpp
#include <eVision/EasyImage/EasyImage.h>
```

```cpp
using namespace eVision;

int width = 256;
int height = 256;

// Assuming you have the following loaded image
EImageBW8 image;

// Initialize an empty image that will contain your resized image
EImageBW8 imageDestination(width, height);

// Perform the operation
EasyImage::Resize(image, imageDestination);
```

## C#

```cs
using eVision;
```

```cs
int width = 256;
int height = 256;

// Assuming you have the following loaded image
EImageBW8 image = new EImageBW8();

// Initialize an empty image that will contain your resized image
EImageBW8 imageDestination = new EImageBW8(width, height);

// Perform the operation
EasyImage.Resize(image, imageDestination);
```

## Python

```py
import eVision

width = 256
height = 256

# Assuming you have the following loaded image
image = eVision.EImageBW8()

# Initialize an empty image that will contain your resized image
imageDestination = eVision.EImageBW8(width, height)

# Perform the operation
eVision.EasyImage.Resize(image, imageDestination)
```
