Browse Source

Slight decrease in memory usage when resizing

pull/33/head
James Jackson-South 9 years ago
parent
commit
70a4e8d0b9
  1. 4
      src/ImageSharp/Samplers/Processors/ResamplingWeightedProcessor.cs

4
src/ImageSharp/Samplers/Processors/ResamplingWeightedProcessor.cs

@ -133,10 +133,10 @@ namespace ImageSharp.Processors
/// <summary>
/// Represents the weight to be added to a scaled pixel.
/// </summary>
protected class Weight
protected struct Weight
{
/// <summary>
/// Initializes a new instance of the <see cref="Weight"/> class.
/// Initializes a new instance of the <see cref="Weight"/> struct.
/// </summary>
/// <param name="index">The index.</param>
/// <param name="value">The value.</param>

Loading…
Cancel
Save