Hello,
I am working on a project where I'm going to create a user interface in a C# windows application. It needs to display a picture. And I want to transfer the picture data to a C++ module that will edit it and then return the result.
I've already established how to transfer data between C# and C++ (I use a C++ DLL). My question is: which class in C# can do what I want? I need it to export the image data into some kind of a pixel matrix (preferably with separated RGB values, each of size 1 byte = 3 bytes per pixel) that I can work with in the C++ module. Also, it needs to be able to import the result back into the object, and display in the C# windows application window.
Any ideas which class might work best for me?
Thanks, Malki.