Closed dvrslype closed 10 years ago
This happened to me too. It seems the Tag.KEYWORDS enum maps to the metadata field "XPKeywords" and not to "Keywords". There currently is no Tag in the library to get the "Keywords" metadata field.
Sorry about this guys - someone is going to submit a pull request to fix this and map it to the IPTC "keywords" key that I missed.
Hello,
I would like to use ExifTool to extract keywords from images. I tried using the native exiftool binary and got this from my test image:
dvrslype@laptop-dieter:/tmp$ exiftool -all a.jpeg ExifTool Version Number : 9.04 File Name : a.jpeg Directory : . File Size : 544 kB File Modification Date/Time : 2013:09:25 17:16:35+02:00 File Access Date/Time : 2013:09:25 17:18:35+02:00 File Permissions : rw-rw-r-- File Type : JPEG MIME Type : image/jpeg Current IPTC Digest : b861196cbed57a77955fb1b5ce222996 Keywords : TST3###TST2###TST1 Caption-Abstract : brugge_keywords.jpg Application Record Version : 4 DCT Encode Version : 100 APP14 Flags 0 : [14] APP14 Flags 1 : (none) Color Transform : YCbCr Image Width : 640 Image Height : 800 Encoding Process : Baseline DCT, Huffman coding Bits Per Sample : 8 Color Components : 3 Y Cb Cr Sub Sampling : YCbCr4:4:4 (1 1) Image Size : 640x800
But when I use ExifTool to extract the keywords information, getImageMeta returns no result. I tried requesting all possible metadata (by adding all enums ExifTool.Tag.* to the getImageMeta method), and that only returns IMAGE_WIDTH and IMAGE_HEIGHT. How can I fix this? Is there a version conflict or so (I'm using the exiftool binary version 9.04 and 1.1 version of ExifTool).
regards,
dvrslype
PS: example image in attachment: