I'm unable to resample my image by resolution. Ex.
```
using (var image = new MagickImage(_in))
{
FilterType type; Enum.TryParse(_filter, true, out type);
image.FilterType = FilterType.Lanczos.;
image.Resample(500, 500);
image.Write(_out);
}
```
It just hangs on the resample call. I have a reasonably fast machine with 16gb of memory.
I am using Magick.NET-Q16-HDRI-AnyCPU.7.0.0.0009.
I'm expecting the image to resize to 500px width and 500px height but I could be just using the resample method wrong.
Comments: ** Comment from web user: Nate_Wilkins **
```
using (var image = new MagickImage(_in))
{
FilterType type; Enum.TryParse(_filter, true, out type);
image.FilterType = FilterType.Lanczos.;
image.Resample(500, 500);
image.Write(_out);
}
```
It just hangs on the resample call. I have a reasonably fast machine with 16gb of memory.
I am using Magick.NET-Q16-HDRI-AnyCPU.7.0.0.0009.
I'm expecting the image to resize to 500px width and 500px height but I could be just using the resample method wrong.
Comments: ** Comment from web user: Nate_Wilkins **
Great! Thanks for the help!