jAckOdE
jAckOdE

Reputation: 2500

Create CBitmap object from memory

I have a memory block which is merely binary data read from a .jpeg file. How can i create a CBitmap object from it?

Upvotes: 0

Views: 300

Answers (1)

Assaf Levy
Assaf Levy

Reputation: 1302

There's no API or standard library function that deals with JPEGs. However, you may use GDI+ routuines to read the JPEG data and translate it to a bitmap, around which you would construct a CBitmap object.

Upvotes: 1

Related Questions