Closed Charltsing closed 2 months ago
You need to copy bitmap data from GPU to CPU, then use ID2D1Bitmap1.Map()
method.
Thank you,i try it , the speed of converting image formats is slow and memory usage is high
I try 3300x12000, 12M image
how to use copypixels in WIC ? perhaps this can be faster?
https://learn.microsoft.com/en-us/windows/win32/api/wincodec/nf-wincodec-iwicbitmapsource-copypixels
This library is just provide Direct2D API for WinForms, to start building something with this, you need to learn Direct2D.
how to use copypixels in WIC ? perhaps this can be faster?
This question is not related to this library. You need to try and check by yourself.
I want to obtain the current pixel color in the mouse event on the canvas, How to get pixel color in it? (not from bitmap)