Matthias Wandel : Building a megapixel digital camera from a flatbed scanner
I started playing around with my flatbed scanner to see if I could capture images of stuff around it, by holding the scanner in my hand and rotating it as it scanned.
I started playing around with my flatbed scanner to see if I could capture images of stuff around it, by holding the scanner in my hand and rotating it as it scanned.
identifier
element to note the URI of your image. It is reserved for some random, and possibly repeating, internal marker that your camera uses to flag individual images. The logic here escapes me but, whatever. I want an identifier that points to the actual image, I think, so I'll just use the handy dc:identifier
instead. I wrote the RDF to a separate file and then I imported it in to an image I was munging with RDFpic. So far, so good. Next, I immediately exported the data to another file to see what it looked like :
<s0:http://purl.org/dc/elements/1.1/identifier> /home/asc/tmp/photo/2003/07/19/20030719-img_0013.jpg </s0:http://purl.org/dc/elements/1.1/identifier> # Which in case you're not sure # yields the following error: 107 ->xmllint ./2003/07/19/20030719-img_0013.rdf2 ./2003/07/19/20030719-img_0013.rdf2:9: \ error: error parsing attribute name <s0:http://purl.org/dc/elements/1.1/identifier> ^Beauty, eh?
Comment
field but it is deliberately verbose and you can win a little extra space by doing things like removing new lines. If your description is very long you could even stick it in a separate file and point to it as a external resource. I don't really like those kinds of solutions but atleast a reference to the data is embedded in the image itself which is a good deal better than having to remember [insert clever secondary file for image meta-data scheme here]. see also :/usr/local/bin/jhead -ce