diff --git a/README.md b/README.md
index f26b63fc11..30494e6a90 100644
--- a/README.md
+++ b/README.md
@@ -58,7 +58,7 @@ git clone https://github.com/JimBobSquarePants/ImageProcessor
- [x] Rectangle
- [x] Size
- [x] Point
- - [ ] Ellipse
+ - [x] Ellipse
- Resampling algorithms. (Performance improvements?)
- [x] Box
- [x] Bicubic
@@ -78,8 +78,8 @@ git clone https://github.com/JimBobSquarePants/ImageProcessor
- [ ] Elliptical Crop
- [x] Entropy Crop
- Rotation
- - [x] Flip (90, 270, FlipType etc. Need help)
- - [ ] Rotate by angle (Need help with Paeth approach) [#258](https://github.com/JimBobSquarePants/ImageProcessor/issues/258)
+ - [x] Flip (90, 270, FlipType etc)
+ - [x] Rotate by angle
- ColorMatrix operations (Uses Matrix4x4)
- [x] BlackWhite
- [x] Greyscale BT709
@@ -113,6 +113,8 @@ git clone https://github.com/JimBobSquarePants/ImageProcessor
- [x] Hue
- [x] Blend
- [ ] Mask
+ - [x] Vignette
+ - [x] Glow
- Effects
- [ ] Path brush (Need help) [#264](https://github.com/JimBobSquarePants/ImageProcessor/issues/264)
- [ ] Pattern brush (Need help) [#264](https://github.com/JimBobSquarePants/ImageProcessor/issues/264)
diff --git a/src/ImageProcessor/Colors/ColorDefinitions.cs b/src/ImageProcessor/Colors/ColorDefinitions.cs
index a8cf86947c..061b509dee 100644
--- a/src/ImageProcessor/Colors/ColorDefinitions.cs
+++ b/src/ImageProcessor/Colors/ColorDefinitions.cs
@@ -719,5 +719,10 @@ namespace ImageProcessor
/// Represents a matching the W3C definition that has a hex triplet value of #9ACD32.
///
public static readonly Color YellowGreen = new Color(154 / 255f, 205 / 255f, 50 / 255f);
+
+ ///
+ /// Represents a system-defined that has an ARGB value of #00FFFFFF.
+ ///
+ public static readonly Color Transparent = new Color(1, 1, 1, 0);
}
}
diff --git a/tests/ImageProcessor.Tests/Processors/ProcessorTestBase.cs b/tests/ImageProcessor.Tests/Processors/ProcessorTestBase.cs
index e26bd44713..dcb474f959 100644
--- a/tests/ImageProcessor.Tests/Processors/ProcessorTestBase.cs
+++ b/tests/ImageProcessor.Tests/Processors/ProcessorTestBase.cs
@@ -19,11 +19,11 @@ namespace ImageProcessor.Tests
///
public static readonly List Files = new List
{
- "TestImages/Formats/Jpg/Floorplan.jpeg",
+ //"TestImages/Formats/Jpg/Floorplan.jpeg", //Perf: Enable for local testing only
"TestImages/Formats/Jpg/Calliphora.jpg",
//"TestImages/Formats/Jpg/gamma_dalai_lama_gray.jpg", //Perf: Enable for local testing only
"TestImages/Formats/Bmp/Car.bmp",
- "TestImages/Formats/Png/blur.png", //Perf: Enable for local testing only
+ //"TestImages/Formats/Png/blur.png", //Perf: Enable for local testing only
"TestImages/Formats/Png/splash.png",
"TestImages/Formats/Gif/rings.gif",
//"TestImages/Formats/Gif/giphy.gif" //Perf: Enable for local testing only
diff --git a/tests/ImageProcessor.Tests/Processors/Samplers/SamplerTests.cs b/tests/ImageProcessor.Tests/Processors/Samplers/SamplerTests.cs
index dfc26728d5..d60ab51395 100644
--- a/tests/ImageProcessor.Tests/Processors/Samplers/SamplerTests.cs
+++ b/tests/ImageProcessor.Tests/Processors/Samplers/SamplerTests.cs
@@ -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 RotateFlips = new TheoryData
@@ -167,7 +167,7 @@
using (FileStream output = File.OpenWrite($"TestOutput/Rotate/{filename}"))
{
image.Rotate(45, sampler)
- .BackgroundColor(Color.Aqua)
+ //.BackgroundColor(Color.Aqua)
.Save(output);
}