Hi there
I'am very new in working with wxwidgets and this is my first problem. I try to store an image in the executable because i don't want to load id from the filesystem. I would like to store it in string, base64 encoded and create an image from a string stream. But it does not really work
Did someone else such thing, any experiences?
Thanx for all advices!
Dominic
store image in the executable
-
- In need of some credit
- Posts: 1
- Joined: Thu Oct 08, 2009 11:04 am
-
- Site Admin
- Posts: 4254
- Joined: Thu Jan 12, 2006 6:23 pm
- Location: IoW, UK
-
- Knows some wx things
- Posts: 39
- Joined: Fri Feb 06, 2009 3:58 pm
I use wxInclude. It can convert many images in various formats to arrays and create header file with them.
You can read http://wiki.wxwidgets.org/Embedding_PNG_Images
You can read http://wiki.wxwidgets.org/Embedding_PNG_Images
Sorry for lame English...