1
1
// Copyright (c) Six Labors.
2
2
// Licensed under the Six Labors Split License.
3
3
4
- using SixLabors . ImageSharp . Processing ;
5
-
6
4
namespace SixLabors . ImageSharp . Web ;
7
5
8
6
/// <summary>
@@ -11,47 +9,47 @@ namespace SixLabors.ImageSharp.Web;
11
9
public static class Resampler
12
10
{
13
11
/// <inheritdoc cref="KnownResamplers.Bicubic"/>
14
- public static ResamplerCommand Bicubic { get ; } = new ( nameof ( Bicubic ) ) ;
12
+ public static ResamplerCommand Bicubic { get ; } = new ( "bicubic" ) ;
15
13
16
14
/// <inheritdoc cref="KnownResamplers.Box"/>
17
- public static ResamplerCommand Box { get ; } = new ( nameof ( Box ) ) ;
15
+ public static ResamplerCommand Box { get ; } = new ( "box" ) ;
18
16
19
17
/// <inheritdoc cref="KnownResamplers.CatmullRom"/>
20
- public static ResamplerCommand CatmullRom { get ; } = new ( nameof ( CatmullRom ) ) ;
18
+ public static ResamplerCommand CatmullRom { get ; } = new ( "catmullrom" ) ;
21
19
22
20
/// <inheritdoc cref="KnownResamplers.Hermite"/>
23
- public static ResamplerCommand Hermite { get ; } = new ( nameof ( Hermite ) ) ;
21
+ public static ResamplerCommand Hermite { get ; } = new ( "hermite" ) ;
24
22
25
23
/// <inheritdoc cref="KnownResamplers.Lanczos2"/>
26
- public static ResamplerCommand Lanczos2 { get ; } = new ( nameof ( Lanczos2 ) ) ;
24
+ public static ResamplerCommand Lanczos2 { get ; } = new ( "lanczos2" ) ;
27
25
28
26
/// <inheritdoc cref="KnownResamplers.Lanczos3"/>
29
- public static ResamplerCommand Lanczos3 { get ; } = new ( nameof ( Lanczos3 ) ) ;
27
+ public static ResamplerCommand Lanczos3 { get ; } = new ( "lanczos3" ) ;
30
28
31
29
/// <inheritdoc cref="KnownResamplers.Lanczos5"/>
32
- public static ResamplerCommand Lanczos5 { get ; } = new ( nameof ( Lanczos5 ) ) ;
30
+ public static ResamplerCommand Lanczos5 { get ; } = new ( "lanczos5" ) ;
33
31
34
32
/// <inheritdoc cref="KnownResamplers.Lanczos8"/>
35
- public static ResamplerCommand Lanczos8 { get ; } = new ( nameof ( Lanczos8 ) ) ;
33
+ public static ResamplerCommand Lanczos8 { get ; } = new ( "lanczos8" ) ;
36
34
37
35
/// <inheritdoc cref="KnownResamplers.MitchellNetravali"/>
38
- public static ResamplerCommand MitchellNetravali { get ; } = new ( nameof ( MitchellNetravali ) ) ;
36
+ public static ResamplerCommand MitchellNetravali { get ; } = new ( "mitchellnetravali" ) ;
39
37
40
38
/// <inheritdoc cref="KnownResamplers.NearestNeighbor"/>
41
- public static ResamplerCommand NearestNeighbor { get ; } = new ( nameof ( NearestNeighbor ) ) ;
39
+ public static ResamplerCommand NearestNeighbor { get ; } = new ( "nearestneighbor" ) ;
42
40
43
41
/// <inheritdoc cref="KnownResamplers.Robidoux"/>
44
- public static ResamplerCommand Robidoux { get ; } = new ( nameof ( Robidoux ) ) ;
42
+ public static ResamplerCommand Robidoux { get ; } = new ( "robidoux" ) ;
45
43
46
44
/// <inheritdoc cref="KnownResamplers.RobidouxSharp"/>
47
- public static ResamplerCommand RobidouxSharp { get ; } = new ( nameof ( RobidouxSharp ) ) ;
45
+ public static ResamplerCommand RobidouxSharp { get ; } = new ( "robidouxsharp" ) ;
48
46
49
47
/// <inheritdoc cref="KnownResamplers.Spline"/>
50
- public static ResamplerCommand Spline { get ; } = new ( nameof ( Spline ) ) ;
48
+ public static ResamplerCommand Spline { get ; } = new ( "spline" ) ;
51
49
52
50
/// <inheritdoc cref="KnownResamplers.Triangle"/>
53
- public static ResamplerCommand Triangle { get ; } = new ( nameof ( Triangle ) ) ;
51
+ public static ResamplerCommand Triangle { get ; } = new ( "triangle" ) ;
54
52
55
53
/// <inheritdoc cref="KnownResamplers.Welch"/>
56
- public static ResamplerCommand Welch { get ; } = new ( nameof ( Welch ) ) ;
54
+ public static ResamplerCommand Welch { get ; } = new ( "welch" ) ;
57
55
}
0 commit comments