LG G4 Could Feature a… 3K Display?

According to myLGphones, a version of the LG G4 will not feature neither a 2K nor a 4K display … more

What’s the Worst Android Phone You’ve Ever Owned?

All of us here at XDAappreciate just how far Androidhas come. The incredible … more

All You Need to Know About NFC Implants

Yes, this is a guide about putting an NFC chip inside your body.If you want to learn how to undergo … more

Sony Refreshes Walkman App with Material Design

The paper-and-ink revolution is taking the Android sphere with the storm, as initially … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[App][2010.11.10] Png2Exe - Creates an exe file with an embedded image as icon.

OP dubidu

5th November 2010, 05:51 PM   |  #1  
OP Senior Member
Thanks Meter: 133
210 posts
Join Date:Joined: Apr 2006
Let's say you have a nice exe file, but the icon included in the file is rubbish (which is quite common because developers sucks at graphic work )

This app can be used to create a launcher exe for that application with a image as the icon. It converts the image file (png,jpg,gif or bmp) into an ICON and inserts it into the EXE, so it can be used to set different icons as the ones provided in the original exe.

Really simple to use, takes 4 input values:

. Path of the original exe.
. Arguments to pass to the program.
. Path where the launcher will be created.
. Path for the image file used for the icon.

It allows to specify the arguments for the process, so it can be used to executing individual items on the control panel, or do more 'clever things' such as dialing up a phone number.

Thanks to Kucher for the idea and suggestions.

(first version, so it may contain some bugs )

Couple of screenshots to give you an idea:


v3 has a couple of changes:

. Allows to choose any image file (jpg, bmp, gif and png) for the embedded icon
. Display a preview on the image in the select list

v4 more changes:

. Big thumbnails
. Fix Cyrillic bug found by Vadim

Still to do... multilingual 8)
Attached Thumbnails
Click image for larger version

Name:	Captures03 Nov. 05 15.11.jpg
Views:	1622
Size:	30.3 KB
ID:	434568   Click image for larger version

Name:	Captures04 Nov. 05 15.12.jpg
Views:	970
Size:	31.4 KB
ID:	434569   Click image for larger version

Name:	Captures02 Nov. 04 16.51.jpg
Views:	890
Size:	26.1 KB
ID:	434570  
Attached Files
File Type: zip Png2Exe.zip - [Click for QR Code] (35.0 KB, 291 views)
File Type: zip Png2Exe_v3.zip - [Click for QR Code] (35.4 KB, 116 views)
File Type: zip Png2Exe_v4.zip - [Click for QR Code] (35.6 KB, 1186 views)
Last edited by dubidu; 10th November 2010 at 08:28 PM.
5th November 2010, 06:13 PM   |  #2  
santod040's Avatar
Recognized Developer / Recognized Contributor
Flag NorCal
Thanks Meter: 13,220
8,126 posts
Join Date:Joined: Nov 2008
Donate to Me
Great idea.
Will be testing this out tonight.
Thanks for it.
5th November 2010, 06:22 PM   |  #3  
Senior Member
Flag Prague
Thanks Meter: 19
247 posts
Join Date:Joined: Jun 2007
Nice and useful Thanks
8th November 2010, 09:10 AM   |  #4  
Junior Member
Thanks Meter: 0
10 posts
Join Date:Joined: Oct 2008
Nice work! Thank you very much.
8th November 2010, 02:43 PM   |  #5  
OP Senior Member
Thanks Meter: 133
210 posts
Join Date:Joined: Apr 2006
it was your idea

I just realize it works with any image file (bmp, jpg, etc) so I'll remove the *.png filter and include all the other extensions

8th November 2010, 02:58 PM   |  #6  
wapvirus's Avatar
Senior Member
Flag London
Thanks Meter: 72
1,729 posts
Join Date:Joined: Jan 2008
Thumbs up
Thanks for this great little tool
9th November 2010, 10:49 AM   |  #7  
Senior Member
Flag Winston Salem, NC
Thanks Meter: 53
189 posts
Join Date:Joined: Sep 2010
Donate to Me
Originally Posted by dubidu

Really simple to use, takes 4 input values:

. Path of the original exe.
. Arguments to pass to the program.
. Path where the launcher will be created.
. Path for the PNG file used for the icon.

wonderfull app idea, just what ive been lookin for, just a few questions tho hopefully someone can help...

how do i find the argument to pass the program?

and im not able to pinpoint an image to use for the icon, i can see my folders but not the contents, what do i do?

and what size png images do i make for my htc hd2?

9th November 2010, 02:32 PM   |  #8  
Senior Member
Thanks Meter: 3
136 posts
Join Date:Joined: Apr 2008
If I may suggest a small change, sometimes the argument is another exe file (as in astro gps launcher). Can you add the browse button also on the Arguments field?

Right now I am using first browsing the argument exe file (on exe path), then I cut it and paste on second field, then I browse again now for the real exe file.

Maybe add it also on Launcher Path field, so we don't need to type it.
Last edited by bsinclair; 9th November 2010 at 02:34 PM.
9th November 2010, 07:20 PM   |  #9  
vadim_bogaiskov's Avatar
Senior Member
Flag Moscow
Thanks Meter: 5
232 posts
Join Date:Joined: Sep 2007
Hallo, dubidu!

A. Bug report:
1. If the path to the exe-file contains Cyrillic, it is impossible to run the file, because path (inside launcher) has error, e.g. \\$;5H-48A:\\Program Files\\Yandex Fotki\\YandexFotki.exe (must be: \\Флеш-диск\\Program Files\\Yandex Fotki\\YandexFotki.exe)
2. I can to change the launcher name in line, but the file name remains unchanged.

B. There is Russian translation

Attached Thumbnails
Click image for larger version

Name:	Png2Exe.gif
Views:	146
Size:	28.5 KB
ID:	437463  
Attached Files
File Type: cab Png2Exe_ru.CAB - [Click for QR Code] (118.7 KB, 46 views)
Last edited by vadim_bogaiskov; 9th November 2010 at 07:36 PM.
9th November 2010, 09:04 PM   |  #10  
OP Senior Member
Thanks Meter: 133
210 posts
Join Date:Joined: Apr 2006
excellent, not it will be multi language

I will add your test in the next build, I have to add the option for other images and include a thumbnail picture of the images, its easier to find the icon.

Txs to all the people who test it, and for that nice Txs for the Russian translation

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes