Hi there.
I was wondering the other day how people can use images with
tiddlywiki, saw a thread regarding how one guy uses it to easily
browse images on his camera, so I started thinking about it.
today you could easily have a wiki, link an image into a tiddler, and
keep the information in the tiddler. If however you send a few images
you've commented on to someone, then the tiddler information isn't
sent with the image unless you specifically send the wiki with it as
well, and he keeps the wiki and URLs exactly the same.
What if you could keep the information embedded into the picture? And
what if when you open a picture in your tiddlywiki which someone sent
you, it automatically gets tagged properly, and has comments and
details in the tiddler?
I found 2 possible ways to do this, one is using the embed text
options in various picture formats, as it has an option to embed text,
you can read about it here:
.PNG :
http://www.w3.org/TR/PNG/#11textinfo
- someone was able to do this with python:
http://blog.modp.com/2007/08/python-pil-and-png-metadata-take-2.html
.JPG, GIF, .TIFF :
http://www.xml.com/pub/a/2004/09/22/xmp.html
- XMP is the new standard, which I don't think server side programs
support yet, the old standard is IPTC, which I know php supports:
http://is2.php.net/manual/en/function.iptcembed.php
The other way I found, and one which might work for all pictures
(theoretically) is using this:
http://openstego.sourceforge.net/
- it's a bit silly, but the idea of using steganography is an
interesting one.
In the end, I think only server-side tidlywikis could do this, fun
idea though.
K.