Microsoft.Maui.Graphics
Microsoft.Maui.Graphics copied to clipboard
How I can use the repo to overlay an image on a base image at specific location?
Hello: As .NET 6.0 is rather new, I want to know if I can overlay an image on a base image at specific location. For example, I have one base image called @"D:\Images\BaseImage.png", its width is 1280PX with height is 720PX, and I have another small image called: @"D:\Images\Overlay1.png", its width is 200PX with height 100PX. I want to draw the small overlay image on top of the base image at the location: (800, 200), and show the merged image in a pictureBox1. I can do this easily with Python, but I want to know if I can do the same in WinForms App in my Windows 10 PC. Please advise! (I have both Visual Studio 2019 and 2022 for C#) Thanks,
WinForms on .NET 6.0 is dotnet/winforms repo.
You'll want to ask there. Or ask at StackOverflow, with tags .net-6.0
winforms
.
BTW, official docs for WinForms .NET 6.
If you are updating an older WinForms app, see also Upgrade a Windows Forms App to .NET 6 with the .NET Upgrade Assistant.