Skip to content

Store and retreive string in PNG #25556

Description

@G-e-n-e-v-e-n-s-i-S

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions