Resize() with Stemmer.Cvb.Foundation.Interpolation.None

Is there a way to resize an image with Transform2D.Resize() without any interpolation - as Map() does?

This would be interesting in order to be able to call GetLinearAccess() on the result, which doesn’t seem to be possible on a mapped image.

Thank you.

Yes there is:

var resizedImage = myImage.Map(newWidth, newHeight).Clone();
1 Like