Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add to the current list of IPTC keywords #23

Open
hackmykack opened this issue Feb 7, 2014 · 2 comments
Open

Unable to add to the current list of IPTC keywords #23

hackmykack opened this issue Feb 7, 2014 · 2 comments

Comments

@hackmykack
Copy link

Hey guys,

I have some image files which contain IPTC keywords.
The IPTC tag is 'Iptc.Application2.Keywords'.

As it stands right now .. exiv2.js only uses 'setImageTags()' which replaces the first keyword in the list instead of cumuatively adding to the list.

The exiv2 command I use to do it from cmdline is 'exiv2 -M "add Iptc.Application2.Keywords String Water" ba1-0501.jpg' which works perfectly.

Any chance this interface could be added to exiv2.js
Would be really awesome !!!

Anyways thnx so much for an amazing module.

Cheers.

@dberesford
Copy link
Owner

hi,

yeah, setImageTags uses exiv's 'setValue' under the hood. We'd should also support 'add', i.e. a new addImageTags() function that calls exiv's 'add' under the hood (which appends key/values). Will certainly put this on the list but given other commitments I can't say when it will be done.

Thanks for your feedback - like your github handle btw ;-)
Damian.

@hackmykack
Copy link
Author

heyy,

don't mention it.

I'm using exiv2.js in a node-webkit app and as a stopgap measure .. am using nodes' sys module to execute exiv2 commands directly. (I know .. it's a bad hack .. but hey "they" don't call me you-know-what for nothing :)

Anyways, thnx much for this awesome node module.

See ya.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants