5,594,653 Members 32,720 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
dubidu
Old
(Last edited by dubidu; 10th November 2010 at 07:28 PM.)
#1  
Senior Member - OP
Thanks Meter 103
Posts: 198
Join Date: Apr 2006
Location: UK
Cool [App][2010.11.10] Png2Exe - Creates an exe file with an embedded image as icon.

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:


UPDATE:

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:	1614
Size:	30.3 KB
ID:	434568   Click image for larger version

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

Name:	Captures02 Nov. 04 16.51.jpg
Views:	884
Size:	26.1 KB
ID:	434570  
Attached Files
File Type: zip Png2Exe.zip - [Click for QR Code] (35.0 KB, 288 views)
File Type: zip Png2Exe_v3.zip - [Click for QR Code] (35.4 KB, 114 views)
File Type: zip Png2Exe_v4.zip - [Click for QR Code] (35.6 KB, 1177 views)
 
santod040
Old
#2  
santod040's Avatar
Recognized Developer / Recognized Contributor
Thanks Meter 5105
Posts: 4,350
Join Date: Nov 2008
Location: NorCal

 
DONATE TO ME
Great idea.
Will be testing this out tonight.
Thanks for it.
Current Devices: HTC Thunderbolt | HTC Droid DNA | HTC One


Follow me on Twitter
ULTIMATE WALLS WVGA Wallpaper Collection
Donations always appreciated! Never required!


 
ZaxXx
Old
#3  
Senior Member
Thanks Meter 19
Posts: 247
Join Date: Jun 2007
Location: Prague
Nice and useful Thanks
 
Kucher
Old
#4  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Oct 2008
Nice work! Thank you very much.
 
dubidu
Old
#5  
Senior Member - OP
Thanks Meter 103
Posts: 198
Join Date: Apr 2006
Location: UK
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

 
wapvirus
Old
#6  
wapvirus's Avatar
Senior Member
Thanks Meter 68
Posts: 1,716
Join Date: Jan 2008
Location: London
Thanks for this great little tool
HTC Sensation XE with Beats Audio Z715e
Viper S 5.0.0 Sense 5 JB Pro
S-Off Super CID
Revolutionary

HBOOT-1.27.1100
Radio-11.24a 3504.31_M

Kernel: SebastianFM kernel 1.0.3
MODS: Crossbreeder MultiSwap

My Beats Inspired Wallpapers for Sensation


 
Dmac1984
Old
#7  
Member
Thanks Meter 26
Posts: 98
Join Date: Sep 2010
Location: Winston Salem, NC

 
DONATE TO ME
Quote:
Originally Posted by dubidu View Post

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?

thanks
 
bsinclair
Old
(Last edited by bsinclair; 9th November 2010 at 01:34 PM.)
#8  
Senior Member
Thanks Meter 3
Posts: 125
Join Date: 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.
 
vadim_bogaiskov
Old
(Last edited by vadim_bogaiskov; 9th November 2010 at 06:36 PM.)
#9  
vadim_bogaiskov's Avatar
Senior Member
Thanks Meter 5
Posts: 232
Join Date: Sep 2007
Location: Moscow
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

Regards,
Vadim
Attached Thumbnails
Click image for larger version

Name:	Png2Exe.gif
Views:	144
Size:	28.5 KB
ID:	437463  
Attached Files
File Type: cab Png2Exe_ru.CAB - [Click for QR Code] (118.7 KB, 46 views)
http://4winphone.blogspot.com - Your Windows Phone apps in Russian language.
 
dubidu
Old
#10  
Senior Member - OP
Thanks Meter 103
Posts: 198
Join Date: Apr 2006
Location: UK
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Motorola Droid RAZR HD and M to Receive KitKat in a “Few More Weeks”

Verizon and Motorola shocked us all back in November when … more

[APK] YouTube Update to 5.6 Now Lets You Cast Live Video to Your Chromecast

Earlier today, we talked about how Google brought two new apps to … more

[OTA Captured] Android 4.4.2 Now Rolling Out to the AT&T Galaxy S 4 Active

A little under two months ago, AT&T started rolling out … more