Is EXIF data be put into TAGS by any plug ins?

19 views
Skip to first unread message

RichShumaker

unread,
Jun 27, 2008, 6:33:44 PM6/27/08
to TiddlyWiki, e...@unamesa.org
I have a digital camera - it takes pictures and the pictures all have
EXIF data.
http://en.wikipedia.org/wiki/Exchangeable_image_file_format

I would like all that EXIF data stored as TAGS either raw like [[22]]
[[16]] [[8]] for the aperture data or specific like [[FNumber : f/
4.0]]

With all of my images Tagged I then have many sorting options based on
plug ins I add or the way I build the TW.
Also since the information is not inline or in the image I could
create an entirely image based TW if I wanted.

I have researched this ability for a bit today and I don't seem to see
anything that can do it.
The closest I could come up with was Eric's plug in to import Data it
can see the MimeType and recognize it - I wonder if it could be
modified that if it sees JPEG's to strip the EXIF data and put it in
the TAG area. Guess I will email him directly, even though I know he
will see this soon, ;)

Rich Shumaker

ocalTW

unread,
Jun 28, 2008, 3:16:23 AM6/28/08
to TiddlyWiki
Rich

I've started fiddling around some JavaScript or Firefox extensions as
I wanted to do something similar.
I don't have anything working yet, but here is the various Javascript
items I started with:
- Firefox extensions : Exif Viewer [1], FxIF [2]
- Firefox GeaseMonkey extension : exifthumbnailfetcher.user.js [3]
- a library to read EXIF data with Javascript : exif.js [4]

Let us know If you want to work on it or are ready to wait a few days/
weeks until I have some time to restart working on it.

[1] - https://addons.mozilla.org/en-US/firefox/addon/3905
[2] - https://addons.mozilla.org/en-US/firefox/addon/5673
[3] - http://www.xs4all.nl/~jlpoutre/BoT/Javascript/ExifThumbs/
[4] - http://blog.nihilogic.dk/2008/05/reading-exif-data-with-javascript.html

HTH

-- ocalTW

RichShumaker

unread,
Jun 28, 2008, 4:23:04 PM6/28/08
to TiddlyWiki
I am not really a coder so I will have to wait.
I could cut copy encode and insert every EXIF data for Every picture I
take.
This method would probably cause a bit of twitching and insanity so I
will need to wait as I already have a bit of that.

Thanks for the links I will check them out and see if I can do any
hackszoring.

Rich Shumaker

RichShumaker

unread,
Jul 14, 2008, 1:30:34 PM7/14/08
to TiddlyWiki
I am still researching this.
I have looked at all of the information that people have provided.
Thanks for that it helped me understand some more stuff.

EXIF Plug In?
Ideally a plug in could be created that would take the EXIF data from
the image and put that into the Tiddler as tags.
Is this possible with JavaScript or is their some limitation that
would make it impossible?

I have Eric's attach file and drag and drop plug in's and they work
well for putting files into the system
They don't carry the EXIF data over into the Tiddler and they don't
make that data into tags.

Rich Shumaker

RichShumaker

unread,
Jul 14, 2008, 5:25:32 PM7/14/08
to TiddlyWiki
So more bad form by Rich posting to his own post over and over.
Again I apologize.
I came across this article and wanted to point coders in this
direction
http://blog.nihilogic.dk/2008/05/reading-exif-data-with-javascript.html

I am not a coder so I am not sure if it is helpful or not.

Let me know. I would love TiddlyWiki to be able to have the MetaTags
from the EXIF data as Tags in the Tiddlers.

Rich Shumaker

Lyall

unread,
Jul 14, 2008, 8:15:39 PM7/14/08
to TiddlyWiki
I wrote an EXIF library years ago.
The format is not something I would expect javascript to be able to
cope with.
It's binary, with byte offsets and all sorts of nasties.
I would expect you would need some form of external library which
javascript can call, removing the ability to have a single file on a
stick and also, possibly, removing the ability to be able to host it
remotely and fiddle locally.

...Lyall


On Jul 15, 6:25 am, RichShumaker <richshuma...@gmail.com> wrote:
> So more bad form by Rich posting to his own post over and over.
> Again I apologize.
> I came across this article and wanted to point coders in this
> directionhttp://blog.nihilogic.dk/2008/05/reading-exif-data-with-javascript.html

Lyall

unread,
Jul 14, 2008, 8:21:10 PM7/14/08
to TiddlyWiki
That said, I did write a command line utility which runs under linux
which dumped all/selected the tags of an Image to stdout. I use it
myself for generating filenames on my home page (date/time is captured
in every picture - I use that to file my pictures). This library works
with big endian and little endian pictures (for example, Kodak and
Nikon generate different endianness pics, or used to)

I guess it could be made to run under cygwin/windows - in which case,
it may be a starting point.

My Launch application plugin http://www.remotely-helpful.com/TiddlyWiki/LaunchApplication.html
could be made to execute the program (or the code leveraged to do so).

...Lyall

RichShumaker

unread,
Jul 17, 2008, 3:31:01 AM7/17/08
to TiddlyWiki
I have the JavaScript Exif Library from the link mentioned above(yes I
mentioned it a second time by accident mostly).
I just have no idea what to do beyond that as I am no coder.

I do know of code just not how to code.
Meaning I know that the library or any library is typically 'called'
by other code.
Since Java Script is a Scripting language I am not sure if it uses the
same library concept I describe.

So anyway there I are(me engliz is more gooder these days then
befores)

Rich Shumaker

RichShumaker

unread,
Jul 25, 2008, 11:43:35 AM7/25/08
to TiddlyWiki
Okay so that hit like a lead balloon.
this may need to go over to Dev now as this is going to be more of a
Dev question.
'How can I include a Library in a Tiddler and then call that library
from another Tiddler(plug in)?'

OR
Do I need to write the plug in with the library included inside of it?

Lastly - Any good JavaScript resources you can recommend online?

Rich Shumaker
Reply all
Reply to author
Forward
0 new messages