Browse Source

Slight decrease in memory usage when resizing

af/merge-core
James Jackson-South 10 years ago
parent
commit
cb570e6be0
  1. 4
      src/ImageSharp/Samplers/Processors/ResamplingWeightedProcessor.cs

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

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

Loading…
Cancel
Save