Skip to content

Instantly share code, notes, and snippets.

@jerkovicl
Forked from bleroy/benchmark-net.cs
Created February 14, 2017 19:13
Show Gist options
  • Save jerkovicl/e5860d7538f333e40a20b136ef8c32d7 to your computer and use it in GitHub Desktop.
Save jerkovicl/e5860d7538f333e40a20b136ef8c32d7 to your computer and use it in GitHub Desktop.
[Benchmark(Description = "ImageSharp Resize")]
public ImageSharpSize ResizeImageSharp()
{
ImageSharpImage image = new ImageSharpImage(Width, Height);
image.Resize(ResizedWidth, ResizedHeight);
return new ImageSharpSize(ResizedWidth, ResizedHeight);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment