Import image into Visual Studio C#?
I'm a beginner programming with C# in Visual Studio. I have an image saved on my MacBook and would like to read it into my code so I can get the individual RGB values of the pixels. Could someone explain how to do this? Thanks!
Then a short tip: ask Google (in English), then here.
The question has been here for more than 45 minutes and I found the solution in 5 seconds.
https://stackoverflow.com/a/10128284
I can’t use System.Drawing because I don’t have Windows.
And what does this have to do with Windows?
.NET also runs on MacOS and System.Drawing is also available for .NET (not confused with .NET Framework, sounds the same, but are different things)