|
|
|
@ -15,18 +15,18 @@ |
|
|
|
{ |
|
|
|
{ "Bicubic", new BicubicResampler() }, |
|
|
|
{ "Triangle", new TriangleResampler() }, |
|
|
|
{ "Box", new BoxResampler() }, |
|
|
|
{ "Lanczos3", new Lanczos3Resampler() }, |
|
|
|
{ "Lanczos5", new Lanczos5Resampler() }, |
|
|
|
{ "Lanczos8", new Lanczos8Resampler() }, |
|
|
|
{ "MitchellNetravali", new MitchellNetravaliResampler() }, |
|
|
|
{ "NearestNeighbor", new NearestNeighborResampler() }, |
|
|
|
{ "Hermite", new HermiteResampler() }, |
|
|
|
{ "Spline", new SplineResampler() }, |
|
|
|
{ "Robidoux", new RobidouxResampler() }, |
|
|
|
{ "RobidouxSharp", new RobidouxSharpResampler() }, |
|
|
|
{ "RobidouxSoft", new RobidouxSoftResampler() }, |
|
|
|
{ "Welch", new WelchResampler() } |
|
|
|
//{ "Box", new BoxResampler() },
|
|
|
|
//{ "Lanczos3", new Lanczos3Resampler() },
|
|
|
|
//{ "Lanczos5", new Lanczos5Resampler() },
|
|
|
|
//{ "Lanczos8", new Lanczos8Resampler() },
|
|
|
|
//{ "MitchellNetravali", new MitchellNetravaliResampler() },
|
|
|
|
//{ "NearestNeighbor", new NearestNeighborResampler() },
|
|
|
|
//{ "Hermite", new HermiteResampler() },
|
|
|
|
//{ "Spline", new SplineResampler() },
|
|
|
|
//{ "Robidoux", new RobidouxResampler() },
|
|
|
|
//{ "RobidouxSharp", new RobidouxSharpResampler() },
|
|
|
|
//{ "RobidouxSoft", new RobidouxSoftResampler() },
|
|
|
|
//{ "Welch", new WelchResampler() }
|
|
|
|
}; |
|
|
|
|
|
|
|
public static readonly TheoryData<RotateType, FlipType> RotateFlips = new TheoryData<RotateType, FlipType> |
|
|
|
@ -167,7 +167,7 @@ |
|
|
|
using (FileStream output = File.OpenWrite($"TestOutput/Rotate/{filename}")) |
|
|
|
{ |
|
|
|
image.Rotate(45, sampler) |
|
|
|
.BackgroundColor(Color.Aqua) |
|
|
|
//.BackgroundColor(Color.Aqua)
|
|
|
|
.Save(output); |
|
|
|
} |
|
|
|
|
|
|
|
|