Convert RGB byte arry

I am looking to convert an RGB BYTE array to HBITMP what is the best way of doing this.
If there is also an option in OpenCV to do the same thing that also will be great
Who is Participating?
HooKooDooKuConnect With a Mentor Commented:
You basically need to build a Bitmap object.  If you're not familer with bitmap internals, start with the overview.

To be able to set the pixels of the bitmap directly, you'll want to use the API function CreateDIBSection.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.