Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
1,890 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello.
I have a ID2D1Bitmap object, and I'd like to make operations on it that require an access to the matrix containing the colors of the points (like make a particulat pixel black, or double the intensity of a pixel). How do I do that?
Use Direct2D effects
like : Color matrix effect
Operate the pixels data in fours like array.
There are some ways which manipulate pixels you can refer to. How to Modify the Pixels of a Bitmap Source, Setting the Alpha Values of Individual Pixels, a related question