The bitmap pixel format is unsupported.

Hello.

I’m stuck with this issue that I can’t seem to be able to get past.

I’m trying to load an image using WIC and pass it to Direct2D.

 // create wic format converter hres = m_pWicFactory->CreateFormatConverter( &m_pWicConverter ); // setup the converter to create 32bpp BGRA bitmaps hres = m_pWicConverter->Initialize( m_pBitmapFrame.Get(), GUID_WICPixelFormat32bppBGRA,	// Pixel Format WICBitmapDitherTypeNone, nullptr,

Published by CelleSports

CelleSports is a Game development, News outlet, and Social Cell community. Build your cells or teams for any game and start communicating efficiently. Join us in building the number one eSport and gaming community in the World. Join Cell eSports

Leave a comment