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!

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
3 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Palladin007
1 year ago

I am a beginner

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

Palladin007
1 year ago
Reply to  GraviTeM

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)