Ofcourse you can put pictures or other data anywhere you want in your code.
Basically all you need to do is store the raw binary stream in your code.
bmp images are often stored in an array. Same way to address it as any other array.
Short answer : yes you can do it, see this example that loads a png from data section :
Thanks for sharing info.
Your really helped me.
Also let me ask another question.
Imagine that I have a picture in resource section.
I want to encrypt this pcture in resource section and just when the program needs to use it,this picture become decrypted in the program.
I need to know the technique and way of programming you use in this case.
Any ideas,Source codes...?
Ps:I have to ways to to Encrypt the resource section.
1-Encrypt this sectio After Run-TIME and then Decrypt it when I need to use it.
2-Have the resource section encrypted before run-time and Decrypt it after Run-Time.
So seemingly,two methods are involved in regard of this question.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum