DEBUG and RELEASE modeDownsizing a large image can cause oddly sampled pixels in the top rows of pixels (I only noticed it in the top rows at least).
I tested multiple samplers. All of them displayed similar results.
using (var image = Image.Load(flowersJpg))
{
image.Mutate(i => i.Resize(new ResizeOptions
{
Size = new Size(300, 300),
Mode = ResizeMode.Crop
}));
image.SaveAsJpeg(outputStream);
}

Resized with ImageSharp

Resized with ImageResizer

I am seeing the same issue in my site which is using ImageSharp but not always when dropping to a small image.
https://www.kast.io/media/concepts/group-ideas.jpg?width=1920&height=832&rmode=crop
https://demo.kast.io/media/groups-demo/family-groups2.jpg?width=408&height=316&rmode=crop
@scleaver Can you include the source images directly in this issue please, Just in case they get removed or updated on your servers. Thanks!
I think the issue is caused by the size of the source image.


Thanks @scleaver
@antonfirsov one for you I think. Let me know if you need a second pair of eyes.
I'm having the same issue. This is the top (zoomed in) of a 1980x5520 jpeg cropped to 480x600:

I can provide the original image if needed.
@netwavebe Please do. Thanks!
Original image is 1980 x 5520:

This image cropped to 480 x 600:

The top distortion is probably very visible here because we're cropping a lot in this image...
@netwavebe I'm assuming you're simply passing the new width and height with ResizeMode.Crop yeah?
@JimBobSquarePants Yes, exactly!
@netwavebe Here's the output following my fix. @patrikwlund @scleaver Your images will resize correctly once merged. Thanks for your patience. 馃憤

@JimBobSquarePants : Awesome! 馃憤
@scleaver : Once there is a new version, we need to update Orchard Core dev!
Most helpful comment
@netwavebe Here's the output following my fix. @patrikwlund @scleaver Your images will resize correctly once merged. Thanks for your patience. 馃憤