Skip to content

HBITMAP to Bitmap in WinUI 3 #7921

Answered by castorix
gautambjain asked this question in Q&A
Discussion options

You must be logged in to vote

I generally use a WriteableBitmap (you can see for example the GetCaptureWriteableBitmap function that I used in CMediaEngine.cs to convert a HBITMAP (m_hBitmapCapture) that I set as Image.Source in SaveFrameDialog function in MainWindow.xaml.cs)

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gautambjain
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants