![]() |
| Script2EXE Home | How to Use | Interface | Buy | Support | Site Home |
Many people ask how to convert a JPG file to a exe file. With Script2EXE, it takes 2 steps:
Open your notepad, copy the following lines to notepad, change "mypic.jpg" to the name of your JPG file, and then save the HTML lines to "myjpg.htm".
<HTML> <img src="mypic.jpg"> </HTML>
The Butterfly sample is a good example for making a EXE from an image file. The image butfly.gif has irregular borders, but with Script2EXE, you can easily fit the shape of the window to the shape of the image --- just a script line:
SetWindowRgnFromImage("butfly.gif", true);
And again, with a single line, you can add background music to the picture:
"<BGSOUND src="mymusic.mp3" LOOP=-1>
Please contact support@xuebrothers.net