How can I load a 32-bit png resource?

I added a 32bit png image as a resource. Now how can I load it with either GDI or WIC?

Edit: I found this:

So my new question is how do I add a binary resource in VS2010? When I choose the "Custom" resource option it adds the file "binary1.bin" with no apparent way of changing it. If I add it manually in the resource file VS removes it every time I build.
Last edited on
Anyone?? Just to clarify I can import the image as a normal PNG resource but it seems to lose the alpha channel. Therefore I want to import it as a raw binary resource.
would use OpenCV
Topic archived. No new replies allowed.