Richard Astbury's Blog · Aug 10, 2016
Benchmarking Image Interpolation in .NET
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
I am attempting to improve the performance of image resizing in C#. This StackOverflow answer provided some excellent pointers for improving performance. I found these tips make a difference: Set pixel format to PixelFormat.Format32bppPArgb when creating a Bitmap. Set Graphics.CompositingMode to CompositingMode.SourceCopy . Set Graphics.InterpolationMode to InterpolationMode.NearestNeighbor .…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.