Category : image

I have a program that is constantly receiving about 60 jpeg files per second in memory, and I’m trying to convert each image into a ID2D1Bitmap. Here is what I’m doing right now: HRESULT DemoApp::LoadBitmapFromBytes(BYTE* bytes, DWORD length, ID2D1Bitmap** bitmap) { IWICBitmapDecoder* pDecoder = NULL; IWICBitmapFrameDecode* pSource = NULL; IWICStream* pStream = NULL; IWICFormatConverter* pConverter ..

Read more

I have a program that is constantly receiving about 60 jpeg files in memory, per second, and as bytes, and I’m looking to use d2d to simply create a bitmap from that in memory jpeg data, and then render it onto the screen. What is the most efficient way to do this? Basically I’m looking ..

Read more