exiv2node icon indicating copy to clipboard operation
exiv2node copied to clipboard

Unable to add to the current list of IPTC keywords

Open hackmykack opened this issue 11 years ago • 2 comments

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.

hackmykack avatar Feb 07 '14 10:02 hackmykack

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.

dberesford avatar Feb 10 '14 19:02 dberesford

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.

hackmykack avatar Feb 11 '14 07:02 hackmykack