Jump to content

Compile Image into exe


 Share

Recommended Posts

Yes, it is possible. There are two ways, 1st is to use resources and the 2nd way is to convert the image into a binary string and use it directly from memory.

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Well, your answer is not the solution to your question how to use an image whereas "the file doesn't have to be installed on the users computer".

Have a look to >Resources UDF or to >File to Base64 String Code Generator.

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Ah I see what you mean by resources now UEZ.  I didn't realize it was another set of UDF's I had to install.  I will check that out.  I didn't realize how easy it was to do the solution above and that it could just re-create the directory above, even if it wasn't on the users computer, or was deleted.  I didn't realize that would keep the picture in the compiled version so I just used that instead.  Seems like the binary solution might be the most effective, I just need to play around with it.

Thanks for the links to the UDF!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...