[Wine] How to extract icons?

James E. LaBarre jamesl at bestweb.net
Thu Sep 15 14:00:00 CDT 2005


>But if I have a program with no installer and I want to bring it manually
on 
>the desktop (what I already have done), how can I extract the nice icon
from 
>an Windows EXE-file?
>Comes Wine with a command-line program, which doing it?
>What have I to input, to become a xpm of an EXE-icon?


What I've done before is to use IrfanView (www.irfanview.com), which is a
free Windows image viewer.  It installs nicely under Wine as well.

To extract the icon from an EXE, simply open the .exe file inside
irfanview, and it will show you the first icon in the file.  At the top of
the window is a "Page x/y" box and up/down arrows next to it.  this will
scroll through the icons in the file.  Then you can do a "File | Save As"
to save the icon out to a seperate file.  It doesn't create XPM files,
however, so you will have to use PNG (or BMP, etc.)




More information about the wine-users mailing list