...

View Full Version : Using JavaScript to extract EXIF data.



tonytiger
04-11-2005, 06:22 PM
Hi. I'm planning to make photogallery to my home page. I'm pretty new to html, Javascript an such.
What I'd like to do is extract the EXIF data from my jpeg images. I searched the forum and found something, but it really didn't help me much. I have also searched from Google and have found that this is harder than it should be - how hard can it be to locate some strings from a file. Maybe the hidden data isn't well standardized yet...
I can't use php or any other server side programming language (my server doesn't provide any support for these), so I have to use Javascript or some other client side method. I can't see why this couldn't be done on the client side.

Can you help me with this? I'd really appreciate it and I believe there are many others that might use this feature as well on their sites. If this works out, this thread could be made to a How-To article about the issue.

Thank you.

Tony

codegoboom
04-12-2005, 04:29 AM
JS can't handle that type of data...

TheRoper
04-12-2005, 04:40 AM
i agree with codegoboom on this one... plus, if i were you, i would move to a different host if they don't support php and such...

tonytiger
04-12-2005, 01:42 PM
My server is provided with my internet connection and is therefore free. I'd like to have php support of course, nut I'd have to pay extra.

Could somebody explain why it has been made impossible to read such files with javascript. In principle I don't see why this couldn't be done - this should be the easiest things to do.
What about if use java instead of javascript?

Does anyone have link about standards digital cameras use to hide data to jpeg files?

Thanks.

Tony

codegoboom
04-12-2005, 10:06 PM
The answer is: just because... image/file manipulation is beyond the scope of JS. Automation is not. However, it is generally impractical, due to client security restrictions (an example of one such interface: Windows Image Acquisition Automation Layer (http://msdn.microsoft.com/library/en-us/wiaaut/wia/wiax/overviews/startpagewiaaut.asp)).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum