The following code will draw an ellipse on an image and fill that ellipse with the Tomato colour
string imageWithTransEllipsePathToSaveTo = "~/Images/imageTest.png";
Graphics g = Graphics.FromImage(sourceImage);
g.FillEllipse(Brushes.Tomato, 50, 50, 200, 200);
sourceImage.Save(Server.MapPath(imageWithTransEllipsePathToSaveTo), ImageFormat.Png);
If I change the brush to Transparent it obviously will not show because the ellipse will be transparent and the image underneath will show.
How do I set the ‘background’ of the ellipse to be transparent so that the image contains a transparent spot?
EDIT:
Sorry for the confusion but like this…

This is my second answer and works with an Image instead of a color brush. Unfortunately there is no RadialImageBrush (known to me). I’ve included code to save the image to the disk, and included
usingsto ensure you import the correct components. This does use WPF but it should work as part of a library or console app.Here is the result:
