How insert image datas in a textfile?

sitajony

Active Member
Licensed User
Hi, today I would know if it's possible to insert all Image data in a text file?
I would type this:
[filename:img.jpg]
687df4g5768fg4d56 (Image data)
[/filename]
[filename:img2.jpg]
....
[/filename]

And when I use this file I get all the datas and save on img.jpg...
Maybe could I encode in Base64 like Internet Explorer with the mhtm extension... We can save a html file with all the images directly in a one file...
If you don't understant tell me ;)
Thanks for your replies!
 

sitajony

Active Member
Licensed User
Thanks for your help I found!
I did a library for encode/decode an Image File... If there's not already this lib on the Forum I'll add my own Lib...
There're 2 functions:
Encode(Image) as String
Decode(String) as Bitmap
 
Top