IntPtr large; IntPtr small; ExtractIconEx(currentpath, index, out large, out small, 1); System.Drawing.Icon icon = System.Drawing.Icon.FromHandle(large); FileStream stream = File.Create(savepath); icon.Save(stream); stream.Close();
I'm trying to get out some Icon from dll files and try to save them in ico Format. But the Quality of the result is very poooor.
The Colors are not the same.
So, what did i wrong???