Tags - How to remove unwanted ones. Solution wanted.
Andrey Goreev
aegoreev at gmail.com
Wed Jan 18 23:26:22 GMT 2017
Here is the output of exiftool -a -G1 -s on a sample file.
Tag "home" was removed long time ago however it is still written to many
fields in the metadata.
Windows File Explorer does not see it but digiKam does. digiKam seems to be
able to read it but not write it.
I guess we all need to submit bugs on exiv2 page and provide them with
sample pictures.
[ExifTool] ExifToolVersion : 10.31
[ExifTool] Warning : [minor] Fixed incorrect
URI for xmlns:MicrosoftPhoto
[System] Directory : D:/Family Pictures
[System] FileSize : 1251 kB
[System] FileModifyDate : 2017:01:18 16:09:14-07:00
[System] FileAccessDate : 2016:12:16 21:52:59-07:00
[System] FileCreateDate : 2016:03:25 11:59:30-06:00
[System] FilePermissions : rw-rw-rw-
[File] FileType : JPEG
[File] FileTypeExtension : jpg
[File] MIMEType : image/jpeg
[File] ExifByteOrder : Big-endian (Motorola, MM)
[File] CurrentIPTCDigest :
c4b32fc3596591b63584e42e3733da06
[File] ImageWidth : 3264
[File] ImageHeight : 2448
[File] EncodingProcess : Baseline DCT, Huffman
coding
[File] BitsPerSample : 8
[File] ColorComponents : 3
[File] YCbCrSubSampling : YCbCr4:2:0 (2 2)
[IFD0] ProcessingSoftware : digiKam-4.14.0
[IFD0] ImageDescription :
[IFD0] Make : Apple
[IFD0] Model : iPhone 5
[IFD0] Orientation : Horizontal (normal)
[IFD0] XResolution : 72
[IFD0] YResolution : 72
[IFD0] ResolutionUnit : inches
[IFD0] Software : 8.1
[IFD0] ModifyDate : 2016:08:08 13:10:27
[IFD0] YCbCrPositioning : Centered
[IFD0] Rating : 0
[IFD0] RatingPercent : 0
[IFD0] XPTitle :
[IFD0] XPKeywords : Jack;playing
[IFD0] PreviewDateTime : 2014:10:22 19:30:38
[IFD0] Padding : (Binary data 2030 bytes,
use -b option to extract)
[ExifIFD] ExposureTime : 1/15
[ExifIFD] FNumber : 2.4
[ExifIFD] ExposureProgram : Program AE
[ExifIFD] ISO : 800
[ExifIFD] ExifVersion : 0221
[ExifIFD] DateTimeOriginal : 2014:10:22 19:30:38
[ExifIFD] CreateDate : 2014:10:22 19:30:38
[ExifIFD] ComponentsConfiguration : Y, Cb, Cr, -
[ExifIFD] ShutterSpeedValue : 1/15
[ExifIFD] ApertureValue : 2.4
[ExifIFD] BrightnessValue : -1.938394161
[ExifIFD] ExposureCompensation : 0
[ExifIFD] MeteringMode : Spot
[ExifIFD] Flash : Off, Did not fire
[ExifIFD] FocalLength : 4.1 mm
[ExifIFD] SubjectArea : 1274 839 610 612
[ExifIFD] SubSecTimeOriginal : 266
[ExifIFD] SubSecTimeDigitized : 266
[ExifIFD] FlashpixVersion : 0100
[ExifIFD] ColorSpace : sRGB
[ExifIFD] ExifImageWidth : 3264
[ExifIFD] ExifImageHeight : 2448
[ExifIFD] SensingMethod : One-chip color area
[ExifIFD] SceneType : Directly photographed
[ExifIFD] ExposureMode : Auto
[ExifIFD] WhiteBalance : Auto
[ExifIFD] FocalLengthIn35mmFormat : 33 mm
[ExifIFD] SceneCaptureType : Standard
[ExifIFD] ImageUniqueID :
b06f4c48bda34815b1da404525da3642
[ExifIFD] LensInfo : 4.12mm f/2.4
[ExifIFD] LensMake : Apple
[ExifIFD] LensModel : iPhone 5 back camera
4.12mm f/2.4
[ExifIFD] Padding : (Binary data 2060 bytes,
use -b option to extract)
[GPS] GPSVersionID : 2.2.0.0
[GPS] GPSLatitudeRef :
[GPS] GPSLatitude :
[GPS] GPSLongitudeRef :
[GPS] GPSLongitude :
[GPS] GPSAltitudeRef :
[GPS] GPSAltitude :
[GPS] GPSTimeStamp :
[GPS] GPSSpeedRef :
[GPS] GPSSpeed :
[GPS] GPSImgDirectionRef :
[GPS] GPSImgDirection :
[GPS] GPSDestBearingRef :
[GPS] GPSDestBearing :
[GPS] GPSDateStamp :
[IFD1] Compression : JPEG (old-style)
[IFD1] XResolution : 72
[IFD1] YResolution : 72
[IFD1] ResolutionUnit : inches
[IFD1] ThumbnailOffset : 5600
[IFD1] ThumbnailLength : 5087
[XMP-x] XMPToolkit : XMP Core 5.1.2
[XMP-xmp] CreatorTool : digiKam-4.14.0
[XMP-xmp] MetadataDate : 2014:10:22 19:30:38
[XMP-xmp] CreateDate : 2014:10:22 19:30:38
[XMP-xmp] ModifyDate : 2016:08:08 13:10:27-06:00
[XMP-xmp] Rating : 0
[XMP-digiKam] PickLabel : 0
[XMP-digiKam] ColorLabel : 0
[XMP-digiKam] TagsList : Activities/playing,
Places/home
[XMP-exif] DateTimeOriginal : 2014:10:22 19:30:38
[XMP-exif] ExifVersion : 0221
[XMP-exif] FlashpixVersion : 0100
[XMP-exif] ColorSpace : sRGB
[XMP-exif] ExposureTime : 1/15
[XMP-exif] FNumber : 2.4
[XMP-exif] ExposureProgram : Program AE
[XMP-exif] ShutterSpeedValue : 1/15
[XMP-exif] ApertureValue : 2.4
[XMP-exif] BrightnessValue : -1.93839416058394
[XMP-exif] ExposureCompensation : 0
[XMP-exif] MeteringMode : Spot
[XMP-exif] FocalLength : 4.1 mm
[XMP-exif] SensingMethod : One-chip color area
[XMP-exif] SceneType : Directly photographed
[XMP-exif] ExposureMode : Auto
[XMP-exif] WhiteBalance : Auto
[XMP-exif] FocalLengthIn35mmFormat : 33 mm
[XMP-exif] SceneCaptureType : Standard
[XMP-exif] ImageUniqueID :
b06f4c48bda34815b1da404525da3642
[XMP-exif] GPSVersionID : 2.2.0.0
[XMP-exif] GPSLatitude :
[XMP-exif] GPSLongitude :
[XMP-exif] GPSAltitudeRef :
[XMP-exif] GPSAltitude :
[XMP-exif] GPSDateTime :
[XMP-exif] GPSSpeedRef :
[XMP-exif] GPSSpeed :
[XMP-exif] GPSImgDirectionRef :
[XMP-exif] GPSImgDirection :
[XMP-exif] GPSDestBearingRef :
[XMP-exif] GPSDestBearing :
[XMP-exif] FlashFired : False
[XMP-exif] FlashReturn : No return detection
[XMP-exif] FlashMode : Off
[XMP-exif] FlashFunction : False
[XMP-exif] FlashRedEyeMode : False
[XMP-exif] ComponentsConfiguration : Y, Cb, Cr, -
[XMP-exif] ISO : 800
[XMP-exif] SubjectArea : 1274 839 610 612
[XMP-tiff] Orientation : Horizontal (normal)
[XMP-tiff] YCbCrPositioning : Centered
[XMP-tiff] XResolution : 72
[XMP-tiff] YResolution : 72
[XMP-tiff] ResolutionUnit : inches
[XMP-tiff] Make : Apple
[XMP-tiff] Model : iPhone 5
[XMP-microsoft] RatingPercent : 0
[XMP-microsoft] LastKeywordXMP : Jack, playing
[XMP-microsoft] LastKeywordIPTC : Jack, playing
[XMP-acdsee] Rating : 4
[XMP-acdsee] Categories : <Categories><Category
Assigned="0">Activities<Category
Assigned="1">playing</Category></Category><Category
Assigned="0">Places<Category
Assigned="1">home</Category></Category></Categories>
[XMP-photoshop] DateCreated : 2014:10:22 19:30:38
[XMP-photoshop] Urgency : 0 (reserved)
[XMP-mwg-rs] RegionAppliedToDimensionsW : 3264
[XMP-mwg-rs] RegionAppliedToDimensionsH : 2448
[XMP-mwg-rs] RegionAppliedToDimensionsUnit : pixel
[XMP-mwg-rs] RegionName : Jack
[XMP-mwg-rs] RegionType : Face
[XMP-mwg-rs] RegionAreaX : 0.441636
[XMP-mwg-rs] RegionAreaY : 0.327819
[XMP-mwg-rs] RegionAreaW : 0.0707721
[XMP-mwg-rs] RegionAreaH : 0.112337
[XMP-mwg-rs] RegionAreaUnit : normalized
[XMP-MP] RegionRectangle : 0.415625, 0.303125,
0.064844, 0.086458
[XMP-MP] RegionPersonDisplayName : Jack
[XMP-lr] HierarchicalSubject : Activities|playing,
Places|home
[XMP-mediapro] CatalogSets : Activities|playing,
Places|home
[XMP-dc] Title :
[XMP-dc] Description :
[XMP-dc] Subject : Jack, playing
[IPTC] EnvelopeRecordVersion : 4
[IPTC] CodedCharacterSet : UTF8
[IPTC] ApplicationRecordVersion : 4
[IPTC] Urgency : 0 (reserved)
[IPTC] Keywords : Jack, playing
[IPTC] DateCreated : 2014:10:22
[IPTC] TimeCreated : 19:30:38+00:00
[IPTC] DigitalCreationDate : 2014:10:22
[IPTC] DigitalCreationTime : 00:00:00+00:00
[IPTC] OriginatingProgram : digiKam
[IPTC] ProgramVersion : 4.14.0
[IPTC] Caption-Abstract :
[Photoshop] IPTCDigest :
c4b32fc3596591b63584e42e3733da06
[Composite] Aperture : 2.4
[Composite] DateTimeCreated : 2014:10:22 19:30:38+00:00
[Composite] DigitalCreationDateTime : 2014:10:22 00:00:00+00:00
[Composite] Flash : Off, Did not fire
[Composite] GPSAltitude :
[Composite] GPSDateTime :
[Composite] GPSLatitude :
[Composite] GPSLatitudeRef :
[Composite] GPSLongitude :
[Composite] GPSLongitudeRef :
[Composite] GPSPosition :
[Composite] ImageSize : 3264x2448
[Composite] Megapixels : 8.0
[Composite] ScaleFactor35efl : 8.0
[Composite] ShutterSpeed : 1/15
[Composite] SubSecCreateDate : 2014:10:22 19:30:38.266
[Composite] SubSecDateTimeOriginal : 2014:10:22 19:30:38.266
[Composite] ThumbnailImage : (Binary data 5087 bytes,
use -b option to extract)
[Composite] CircleOfConfusion : 0.004 mm
[Composite] FOV : 57.2 deg
[Composite] FocalLength35efl : 4.1 mm (35 mm equivalent:
33.0 mm)
[Composite] HyperfocalDistance : 1.89 m
[Composite] LightValue : 3.4
Best regards,
Andrey Goreev
On Wed, Jan 18, 2017 at 4:12 PM, Matthieu <ermelir at gmail.com> wrote:
> Hello
>
> I have the same issue, with both DK 5.3 and DK 5.4: I have some unrequired
> tags in tags list, and, even if I remove them from pictures in DK, select
> all the updated pictures and click "write metadata in disk" (in pictures
> which have appropriate write and write permissions), after refreshing,
> these tags come back.
>
> I identified one origin of this issue: my pictures are stored in a
> synology NAS under photos station which write some of these tags in related
> files.
> Even if pictures in digikam where removed from the unwanted tags, tags is
> still stored in the related files and so, when refreshing, DK read these
> files and so the unappropriated tags.
> Removing unrequired tags from photo station have made disappear some of
> these unrequired tags from digikam after refresh.
>
> But not for all.... And I don't know why.
>
> I'm quite sure that pictures involved are both JPG and CR2 files.
>
> Hope this comment can help.
>
> Regards
>
>
> 2017-01-18 23:46 GMT+01:00 Peter Mc Donough <mcd-mail-lists at gmx.net>:
>
>> Am 18.01.2017 um 23:27 schrieb Andrey Goreev:
>>
>>> Can you run exiftool -a -G1 -s /PATH/FILE command on one of the files and
>>> see what the output is?
>>> Let me know if the unwanted tag is under [XMP-microsoft] LastKeywordIPTC
>>>
>>
>> No, the keyword is "04 - Winter" in
>> [IPTC] Keywords : 04 - Winter
>>
>> If you wish I could send you a PM with the whole exiftool output together
>> with the photo
>>
>> cu
>> Peter
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20170118/af3e5b26/attachment.html>
More information about the Digikam-users
mailing list