DrWatson - the perfect sidekick to your scientific inquiries!

Just pinging in, there is a standard way to add almost any information to images: in their metadata. A related effort was discussed in this post. So for an actual image, yea you can add a string (among other things). But this is a specific solution for images, maybe a more general solution (like the TOML idea of @kevbonham) is better.