How to extract image from exe files?

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
Qwez

How to extract image from exe files?

Post by Qwez »

How to extract image from exe files?
larswes
Posts: 5
Joined: Thu Jan 29, 2004 10:44 am
Location: Sweden

Re: How to extract image from exe files?

Post by larswes »

You could try Resource Hacker.
jjeep

Post by jjeep »

You could try konvertor
www.konvertor.net/indexe.html
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Think the programs mentioned before will do the job. If you simply want to open only single icons stored in the .exe file, you can use XnView: In the XnView browser just double-click on the .exe file. Then, XnView will display a dialog to select an icon and opens it.
Guest

Post by Guest »

helmut wrote:Think the programs mentioned before will do the job. If you simply want to open only single icons stored in the .exe file, you can use XnView: In the XnView browser just double-click on the .exe file. Then, XnView will display a dialog to select an icon and opens it.
What am I misssing? When I click on the EXE it just Opens the exe, I am never prompted to select the icon...
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Indeed…

Post by Clo »

—> Guest

:) Hello !

• I use that feature in the following way to avoid that the EXE be started :

- I set a button for XnView in a button-bar in Total Commander,
- I carry the EXE on that icon via Drag&Drop, and the trick is played…

Aside : Indeed you get the dialogue to save icons, but unfortunately, 99% of them will be unusable because the transparent background is not rendered, it is shown as full black… :(
- Pierre is quite aware of that :bug: Yes, this continues for ten years, thus I consider it's a bug now… :P

Ultimate workaround :
1. Display the icon you need in the right area of the box,
2. Alt+PrintScreen
3. Import the Clipboard and crop the image to keep just the icon…
4. Save <Clipboard_x> as *.ICO or *.BMP if you need to make retouchs…


:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Anonymous wrote:...What am I misssing? When I click on the EXE it just Opens the exe, I am never prompted to select the icon...
In XnView browser:
1. Select the EXE file
2. Use "Tools > Open" or right click on the EXE file and use "Open" in the context menu.
3. You will see a dialog "Multiple icons" which lets you choose which icon to open.
User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique
Contact:

Post by ouistiti »

:arrow: Helmut

Nice... but the transparent background is not rendered, it is shown as full black :twisted:

———————>Image

More : the quality is (very) bad ! (Try a zooming !)

Any suggestion ?

Paul
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

ouistiti wrote:Nice... but the transparent background is not rendered, it is shown as full black
That's a bug which Clo has mentioned above.
ouistiti wrote:More : the quality is (very) bad ! (Try a zooming !)
Often, icons in various sizes are stored in the exe file. The size and colour depth of the icon is shown as part of the image name. E.g. "Icon 164 [48x48x32]" stands for 48x48 pixels with 32 colours. Choose the largest icon with most colours, then quality is supposed to be as expected.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

No, no no…

Post by Clo »

—> Helmut

• Hi !
…E.g. "Icon 164 [48x48x32]" stands for 48x48 pixels with 32 colours.
- Sorry, this is wrong. The last number means the colour depth as Bit¦s Per Pixel.

• The icon that Paul shows is a 32 BPP, and the saving is as so bad as it should be a 4 BPP, regardless the damned black B.G. …

:mrgreen: G.
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply