Code Maze Author

Emmanuel Adom

Emmanuel has over 9 years of experience developing .NET and web applications as well as Software Quality Assurance Testing (QA Testing). His experience includes developing e-commerce, multimedia, and other customized web and desktop applications. Emmanuel also has interests in the Blazor and .NET MAUI technologies. When not coding, he's involved in Christian music, playing the piano and the bass/acoustic guitars.
Also find me here:



MY ARTICLES:

SkiaSharp in C#: How to Generate Images

SkiaSharp draws images in .NET with three types. An SKBitmap is the pixel buffer, an SKCanvas is the drawing surface bound to it, and an SKPaint carries the color and style for each drawing call. [sc name="github"...

Generate Images in C# Using ImageSharp

To generate an image in C# with ImageSharp, we create an Image<Rgba32> of the size we need, draw on it with DrawPolygon() from ImageSharp.Drawing inside Mutate(), and save it with SaveAsPng(). We'll build exactly that: a blank 350 x 280 image with a red triangle...