Is it possible to store some string data inside a wxImage, save it to disk as a PNG image, then later load it and retrieve the string?
I tried using wxImage::SetOption() and wxImage::GetOption() but these don't seem to persist upon writing to disk.
I also haven't found any function to access the iTXt, tEXt, or zTXt chunks.
I'm open to any kind of ugly/platform specific hack (except storing it in the filename).
Thanks!
Is it possible to store some string data inside a wxImage, save it to disk as a PNG image, then later load it and retrieve the string?
I tried using wxImage::SetOption() and wxImage::GetOption() but these don't seem to persist upon writing to disk.
I also haven't found any function to access the iTXt, tEXt, or zTXt chunks.
I'm open to any kind of ugly/platform specific hack (except storing it in the filename).
Thanks!