[Originally posted by janmartin on 2009-11-17 18:05:20-08]Hi all,
I have data like this, that I need to add to .jpg images.
www.site1.com 00003441.jpg, 49.994296, 8.664028, 170.5556858
www.faksite.co.kr 04560002.jpg, 49.994296, 8.664028, 170.5556858
sitegood.de/files/pictures 00023403.jpg, 49.994302, 8.664028, 171.3216667
The number of lines can change.
After reading about custom tags for a while and then also searching the forum I am more than lost.
It's complex!
Also I am not a real programmer, my perl scripts are very low-tech.
Help please?
Thanks,
Jan
[Originally posted by exiftool on 2009-11-17 18:42:45-08]Hi Jan,
It doesn't seem like you need to define a new tag
to do this. You just need to decide where you
want to write this information. You could easily
write this to the JPEG Comment field if this
is suitable.
If the comment has multiple lines, it is easiest to
create a .txt file containing the comment and set
it like this using the exiftool application:
exiftool "-comment<=my.txt" image.jpg
Is this what you were asking for?
- Phil
[Originally posted by janmartin on 2009-11-19 15:58:18-08]
Hi Phil,
unfortunately the JPEG Comment won't do.
Using exiftool I wrote a comment to the jpeg file.
Then checked it like this:
exiftool -a -G1 00000049.jpg
------------------ snip ----------------------------
[File] Comment : 00000055.jpg 49.996021 8.663938, 00000036.jpg 49.9943629999306 8.664055, 00000115.jpg 49.996494 8.66523699986111, 00000123.jpg 49.996264 8.666156, 00000286.jpg 49.99588 8.66675
----------------- snap -----------------------------
So the comment data is OK.
But the jquery library I am using to access it is for EXIF data only. Not the JPEG Comment.
So how to add a tag to the GPS group?
Let's call the Tag "GPStest".
Thanks,
Jan
[Originally posted by exiftool on 2009-11-19 16:10:59-08]Hi Jan,
The only problem here is trying to find a tag that
jquery will read. It sounds like it reads standard
EXIF tags, but I doubt that it will read a user-defined
tag such as your GPStest idea. What about writing
to EXIF:ImageDescription? It should be able
to read this.
But if you really want to create a user-defined tag,
look at the
config
file documentation for examples.
- Phil