Is there a method of reading an embedded image in a DLL using GDI+?
I have previously been using an undocumented API named PrivateExtractIcons to extract PNGs from DLLs or EXEs and then place them into a picturebox but the method I am currently using returns the PNG with a hard jpeg-like background. This is no good as I'm trying to insert the PNG into my GDi+dock that requires transparent PNGs.
I was hoping there was a GDI+ function that might be able to extract a PNG image directly from an EXE or DLL. IF there is such a thing please point me in the right direction. I have found something written for Powerbasic but before I try to hack that I was hoping you chaps might have a better idea?
I have previously been using an undocumented API named PrivateExtractIcons to extract PNGs from DLLs or EXEs and then place them into a picturebox but the method I am currently using returns the PNG with a hard jpeg-like background. This is no good as I'm trying to insert the PNG into my GDi+dock that requires transparent PNGs.
I was hoping there was a GDI+ function that might be able to extract a PNG image directly from an EXE or DLL. IF there is such a thing please point me in the right direction. I have found something written for Powerbasic but before I try to hack that I was hoping you chaps might have a better idea?