Extract icon from Mono executable
Try the wrestool
utility in the icoutils
package - I believe it can extract icon resources from Mono executables.
I use the same tools Colin mentioned. First install the icoutils
package. Then to extract the ico from dlls or exe, just run:
wrestool -x --output=. -t14 name.exe
That usually extracts the main icon. Then to convert the ico file to png run:
for i in *.ico; do convert "$i" "$i.png"; done
The first command works for me about 99% of the time. If it doesn't give you the right icon file you can check this more in depth tutorial. Also, you can use the wrestool man file