[PATCH 1/2] windowscodecs: Add tests and initial implementation for DdsFrameDecode_CopyPixels().
Esme Povirk (they/them)
esme at codeweavers.com
Fri Aug 14 09:43:10 CDT 2020
We shouldn't use CoCreateInstance in our implementations, because some
Windows programs and Wine components use WIC without initializing COM.
This is done by calling WICCreateImagingFactory_Proxy.
In this case, I would set a value containing the bpp when setting
pixel_format. If you really need to query component info, you can use
CreateComponentInfo directly.
Of course, using CoCreateInstance and
IWICImagingFactory_CreateComponentInfo in a test is completely fine.
More information about the wine-devel
mailing list