11// Copyright (c) Six Labors.
22// Licensed under the Six Labors Split License.
33
4- using SixLabors . ImageSharp . Processing ;
5-
64namespace SixLabors . ImageSharp . Web ;
75
86/// <summary>
@@ -11,47 +9,47 @@ namespace SixLabors.ImageSharp.Web;
119public static class Resampler
1210{
1311 /// <inheritdoc cref="KnownResamplers.Bicubic"/>
14- public static ResamplerCommand Bicubic { get ; } = new ( nameof ( Bicubic ) ) ;
12+ public static ResamplerCommand Bicubic { get ; } = new ( "bicubic" ) ;
1513
1614 /// <inheritdoc cref="KnownResamplers.Box"/>
17- public static ResamplerCommand Box { get ; } = new ( nameof ( Box ) ) ;
15+ public static ResamplerCommand Box { get ; } = new ( "box" ) ;
1816
1917 /// <inheritdoc cref="KnownResamplers.CatmullRom"/>
20- public static ResamplerCommand CatmullRom { get ; } = new ( nameof ( CatmullRom ) ) ;
18+ public static ResamplerCommand CatmullRom { get ; } = new ( "catmullrom" ) ;
2119
2220 /// <inheritdoc cref="KnownResamplers.Hermite"/>
23- public static ResamplerCommand Hermite { get ; } = new ( nameof ( Hermite ) ) ;
21+ public static ResamplerCommand Hermite { get ; } = new ( "hermite" ) ;
2422
2523 /// <inheritdoc cref="KnownResamplers.Lanczos2"/>
26- public static ResamplerCommand Lanczos2 { get ; } = new ( nameof ( Lanczos2 ) ) ;
24+ public static ResamplerCommand Lanczos2 { get ; } = new ( "lanczos2" ) ;
2725
2826 /// <inheritdoc cref="KnownResamplers.Lanczos3"/>
29- public static ResamplerCommand Lanczos3 { get ; } = new ( nameof ( Lanczos3 ) ) ;
27+ public static ResamplerCommand Lanczos3 { get ; } = new ( "lanczos3" ) ;
3028
3129 /// <inheritdoc cref="KnownResamplers.Lanczos5"/>
32- public static ResamplerCommand Lanczos5 { get ; } = new ( nameof ( Lanczos5 ) ) ;
30+ public static ResamplerCommand Lanczos5 { get ; } = new ( "lanczos5" ) ;
3331
3432 /// <inheritdoc cref="KnownResamplers.Lanczos8"/>
35- public static ResamplerCommand Lanczos8 { get ; } = new ( nameof ( Lanczos8 ) ) ;
33+ public static ResamplerCommand Lanczos8 { get ; } = new ( "lanczos8" ) ;
3634
3735 /// <inheritdoc cref="KnownResamplers.MitchellNetravali"/>
38- public static ResamplerCommand MitchellNetravali { get ; } = new ( nameof ( MitchellNetravali ) ) ;
36+ public static ResamplerCommand MitchellNetravali { get ; } = new ( "mitchellnetravali" ) ;
3937
4038 /// <inheritdoc cref="KnownResamplers.NearestNeighbor"/>
41- public static ResamplerCommand NearestNeighbor { get ; } = new ( nameof ( NearestNeighbor ) ) ;
39+ public static ResamplerCommand NearestNeighbor { get ; } = new ( "nearestneighbor" ) ;
4240
4341 /// <inheritdoc cref="KnownResamplers.Robidoux"/>
44- public static ResamplerCommand Robidoux { get ; } = new ( nameof ( Robidoux ) ) ;
42+ public static ResamplerCommand Robidoux { get ; } = new ( "robidoux" ) ;
4543
4644 /// <inheritdoc cref="KnownResamplers.RobidouxSharp"/>
47- public static ResamplerCommand RobidouxSharp { get ; } = new ( nameof ( RobidouxSharp ) ) ;
45+ public static ResamplerCommand RobidouxSharp { get ; } = new ( "robidouxsharp" ) ;
4846
4947 /// <inheritdoc cref="KnownResamplers.Spline"/>
50- public static ResamplerCommand Spline { get ; } = new ( nameof ( Spline ) ) ;
48+ public static ResamplerCommand Spline { get ; } = new ( "spline" ) ;
5149
5250 /// <inheritdoc cref="KnownResamplers.Triangle"/>
53- public static ResamplerCommand Triangle { get ; } = new ( nameof ( Triangle ) ) ;
51+ public static ResamplerCommand Triangle { get ; } = new ( "triangle" ) ;
5452
5553 /// <inheritdoc cref="KnownResamplers.Welch"/>
56- public static ResamplerCommand Welch { get ; } = new ( nameof ( Welch ) ) ;
54+ public static ResamplerCommand Welch { get ; } = new ( "welch" ) ;
5755}
0 commit comments