macOS 11.5.1 Photos.app fails to show added Caption in Sony ILCA-68 .jpg

Started by wywh, July 30, 2021, 11:38:03 AM

Previous topic - Next topic

wywh

A Big Sur Photos.app issue with only Sony ILCA-68 .jpg images.

Big Sur 11.5.1 Photos.app fails to display the 'IPTC:Caption-Abstract' or 'XMP-dc:Description' in Sony ILCA-68 .jpg while 'IPTC:Keywords' or 'XMP-dc:Subject' is displayed correctly. (Caption and Keyword added with GraphicConverter 11.5.1).

Rebuilding metadata does not help.

exiftool -all= -tagsfromfile @ -all:all -unsafe -icc_profile .

GraphicConverter's "Remove Camera data only..." fixes this but it deletes way too much metadata.

Is there a less destructive command to try to fix this? exiftool output from a sample file below:

exiftool -a -G1 -s 2018-0904-1131-30.jpg
[ExifTool]      ExifToolVersion                 : 12.25
[System]        FileName                        : 2018-0904-1131-30.jpg
[System]        Directory                       : .
[System]        FileSize                        : 11 MiB
[System]        FileModifyDate                  : 2018:09:04 11:31:30+03:00
[System]        FileAccessDate                  : 2021:07:30 18:19:33+03:00
[System]        FileInodeChangeDate             : 2021:07:30 18:19:05+03:00
[System]        FilePermissions                 : -rw-rw-r--
[File]          FileType                        : JPEG
[File]          FileTypeExtension               : jpg
[File]          MIMEType                        : image/jpeg
[File]          ExifByteOrder                   : Little-endian (Intel, II)
[File]          CurrentIPTCDigest               : 507eb6e933e59388a98c3a98dbcb61d8
[File]          ImageWidth                      : 6000
[File]          ImageHeight                     : 4000
[File]          EncodingProcess                 : Baseline DCT, Huffman coding
[File]          BitsPerSample                   : 8
[File]          ColorComponents                 : 3
[File]          YCbCrSubSampling                : YCbCr4:2:2 (2 1)
[IFD0]          ImageDescription                :
[IFD0]          Make                            : SONY
[IFD0]          Model                           : ILCA-68
[IFD0]          Orientation                     : Horizontal (normal)
[IFD0]          XResolution                     : 350
[IFD0]          YResolution                     : 350
[IFD0]          ResolutionUnit                  : inches
[IFD0]          Software                        : ILCA-68 v1.00
[IFD0]          ModifyDate                      : 2018:09:04 11:31:30
[IFD0]          YCbCrPositioning                : Co-sited
[ExifIFD]       ExposureTime                    : 1/80
[ExifIFD]       FNumber                         : 5.0
[ExifIFD]       ExposureProgram                 : Program AE
[ExifIFD]       ISO                             : 100
[ExifIFD]       SensitivityType                 : Recommended Exposure Index
[ExifIFD]       RecommendedExposureIndex        : 100
[ExifIFD]       ExifVersion                     : 0230
[ExifIFD]       DateTimeOriginal                : 2018:09:04 11:31:30
[ExifIFD]       CreateDate                      : 2018:09:04 11:31:30
[ExifIFD]       ComponentsConfiguration         : Y, Cb, Cr, -
[ExifIFD]       CompressedBitsPerPixel          : 3
[ExifIFD]       BrightnessValue                 : 5.70078125
[ExifIFD]       ExposureCompensation            : 0
[ExifIFD]       MaxApertureValue                : 4.5
[ExifIFD]       MeteringMode                    : Multi-segment
[ExifIFD]       LightSource                     : Unknown
[ExifIFD]       Flash                           : Off, Did not fire
[ExifIFD]       FocalLength                     : 28.0 mm
[ExifIFD]       UserComment                     :
[ExifIFD]       FlashpixVersion                 : 0100
[ExifIFD]       ColorSpace                      : sRGB
[ExifIFD]       ExifImageWidth                  : 6000
[ExifIFD]       ExifImageHeight                 : 4000
[ExifIFD]       FileSource                      : Digital Camera
[ExifIFD]       SceneType                       : Directly photographed
[ExifIFD]       CustomRendered                  : Normal
[ExifIFD]       ExposureMode                    : Auto
[ExifIFD]       WhiteBalance                    : Auto
[ExifIFD]       DigitalZoomRatio                : 1
[ExifIFD]       FocalLengthIn35mmFormat         : 42 mm
[ExifIFD]       SceneCaptureType                : Standard
[ExifIFD]       Contrast                        : Normal
[ExifIFD]       Saturation                      : Normal
[ExifIFD]       Sharpness                       : Normal
[ExifIFD]       LensInfo                        : 18-55mm f/3.5-5.6
[ExifIFD]       LensModel                       : DT 18-55mm F3.5-5.6 SAM II
[Sony]          PreviewImage                    : (Binary data 1225224 bytes, use -b option to extract)
[Sony]          Rating                          : 0
[Sony]          Contrast                        : 0
[Sony]          Saturation                      : 0
[Sony]          Sharpness                       : 0
[Sony]          Brightness                      : 0
[Sony]          LongExposureNoiseReduction      : On (unused)
[Sony]          HighISONoiseReduction           : Normal
[Sony]          HDR                             : Off; Uncorrected image
[Sony]          WBShiftAB_GM                    : 0 0
[Sony]          FaceInfoOffset                  : 94
[Sony]          SonyDateTime                    : 2018:09:04 11:31:30
[Sony]          SonyImageHeight                 : 4000
[Sony]          SonyImageWidth                  : 6000
[Sony]          FacesDetected                   : 0
[Sony]          FaceInfoLength                  : 37
[Sony]          MetaVersion                     : DC7303320222000
[Sony]          CreativeStyle                   : Standard
[Sony]          ColorTemperature                : Auto
[Sony]          ColorCompensationFilter         : 0
[Sony]          SceneMode                       : Auto+
[Sony]          ZoneMatching                    : ISO Setting Used
[Sony]          DynamicRangeOptimizer           : Auto
[Sony]          ImageStabilization              : On
[Sony]          ColorMode                       : Standard
[Sony]          FullImageSize                   : 6000x4000
[Sony]          PreviewImageSize                : 1616x1080
[Sony]          FileFormat                      : ARW 2.3.1
[Sony]          Quality                         : Fine
[Sony]          FlashExposureComp               : 0
[Sony]          WhiteBalanceFineTune            : 0
[Sony]          WhiteBalance                    : Auto
[Sony]          SonyModelID                     : ILCA-68
[Sony]          MultiFrameNoiseReduction        : Off
[Sony]          PictureEffect                   : Off
[Sony]          SoftSkinEffect                  : Off
[Sony]          VignettingCorrection            : Auto
[Sony]          LateralChromaticAberration      : Auto
[Sony]          DistortionCorrectionSetting     : Off
[Sony]          LensType                        : Sony DT 18-55mm F3.5-5.6 SAM (SAL1855) or SAM II
[Sony]          LensSpec                        : DT 18-55mm F3.5-5.6 SAM II
[Sony]          AutoPortraitFramed              : No
[Sony]          FlashAction                     : Did not fire
[Sony]          ElectronicFrontCurtainShutter   : On
[Sony]          FocusMode                       : AF-A
[Sony]          AFAreaModeSetting               : Wide
[Sony]          AFPointSelected                 : Auto
[Sony]          AFPointsUsed                    : B5, C2, D2, D5, E5, F9, G2, G5, G7, G9, H3, H6, H9, I6
[Sony]          AFTracking                      : Off
[Sony]          MultiFrameNREffect              : Normal
[Sony]          ExposureMode                    : Auto
[Sony]          FlashLevel                      : Normal
[Sony]          ReleaseMode                     : Normal
[Sony]          SequenceNumber                  : Single
[Sony]          Anti-Blur                       : On (Shooting)
[Sony]          DynamicRangeOptimizer           : Standard
[Sony]          IntelligentAuto                 : On
[Sony]          WhiteBalance                    : Auto
[Sony]          ReleaseMode2                    : Normal
[Sony]          ShotNumberSincePowerUp          : 2
[Sony]          SequenceImageNumber             : 1
[Sony]          SequenceLength                  : 1 shot
[Sony]          SequenceFileNumber              : 1
[Sony]          SequenceLength                  : 1 file
[Sony]          CameraOrientation               : Horizontal (normal)
[Sony]          Quality2                        : JPEG
[Sony]          SonyImageHeight                 : 4000
[Sony]          ModelReleaseYear                : 2014
[Sony]          ISOSetting                      : Auto
[Sony]          ISOAutoMin                      : Auto
[Sony]          ISOAutoMax                      : Auto
[Sony]          ExposureProgram                 : iAuto+
[Sony]          IntelligentAuto                 : On
[Sony]          FocusPosition2                  : 202
[Sony]          SonyISO                         : 100
[Sony]          BaseISO                         : 100
[Sony]          StopsAboveBaseISO               : 0
[Sony]          SonyExposureTime2               : 1/72
[Sony]          ExposureTime                    : 1/80
[Sony]          SonyFNumber                     : 5.0
[Sony]          SonyMaxApertureValue            : 4.4
[Sony]          SequenceImageNumber             : 1
[Sony]          ReleaseMode2                    : Normal
[Sony]          SonyImageWidthMax               : 6016
[Sony]          SonyImageHeightMax              : 4016
[Sony]          HighISONoiseReduction           : Normal
[Sony]          LongExposureNoiseReduction      : On
[Sony]          PictureEffect2                  : Off
[Sony]          ExposureProgram                 : iAuto+
[Sony]          CreativeStyle                   : Standard
[Sony]          Sharpness                       : 0
[Sony]          DistortionCorrParamsPresent     : Yes
[Sony]          DistortionCorrection            : None
[Sony]          LensFormat                      : APS-C
[Sony]          LensMount                       : A-mount
[Sony]          LensType                        : Sony DT 18-55mm F3.5-5.6 SAM (SAL1855) or SAM II
[Sony]          DistortionCorrParams            : 5 0 -10 -22 -39 -59 -83 -109 -140 -174 -215 0 0 0 0 0
[Sony]          VignettingCorrParams            : 0 32 90 219 457 901 1472 2149 2879 3646 4415 0 0 0 0 0
[Sony]          ChromaticAberrationCorrParams   : -563 -497 -432 -355 -279 -192 -103 11 118 204 254 0 0 0 0 0 1124 1233 1296 1311 1276 1187 1067 945 800 622 406 0 0 0 0 0
[Sony]          BatteryTemperature              : 36.7 C
[Sony]          BatteryLevel                    : 83%
[Sony]          AFType                          : 79-point
[Sony]          FocusMode                       : AF-A
[Sony]          AFPointsUsed                    : B5, C2, D2, D5, E5, F9, G2, G5, G7, G9, H3, H6, H9, I6
[Sony]          AFPoint                         : F9
[Sony]          AFPointInFocus                  : F9
[Sony]          AFPointAtShutterRelease         : F9
[Sony]          AFAreaMode                      : Wide
[Sony]          AFStatusActiveSensor            : Back Focus (+16)
[Sony]          ExposureProgram                 : iAuto+
[Sony]          AFMicroAdj                      : 0
[Sony]          AFStatus_00_B4                  : Front Focus (-166)
[Sony]          AFStatus_01_C4                  : Front Focus (-126)
[Sony]          AFStatus_02_D4                  : Front Focus (-117)
[Sony]          AFStatus_03_E4                  : Front Focus (-180)
[Sony]          AFStatus_04_F4                  : Front Focus (-139)
[Sony]          AFStatus_05_G4                  : Front Focus (-101)
[Sony]          AFStatus_06_H4                  : Front Focus (-112)
[Sony]          AFStatus_07_B3                  : Front Focus (-66)
[Sony]          AFStatus_08_C3                  : Front Focus (-44)
[Sony]          AFStatus_09_D3                  : Front Focus (-59)
[Sony]          AFStatus_10_E3                  : Front Focus (-68)
[Sony]          AFStatus_11_F3                  : Front Focus (-69)
[Sony]          AFStatus_12_G3                  : Front Focus (-20)
[Sony]          AFStatus_13_H3                  : Back Focus (+30)
[Sony]          AFStatus_14_B2                  : Out of Focus
[Sony]          AFStatus_15_C2                  : Front Focus (-7)
[Sony]          AFStatus_16_D2                  : Front Focus (-27)
[Sony]          AFStatus_17_E2                  : Front Focus (-14)
[Sony]          AFStatus_18_F2                  : Back Focus (+18)
[Sony]          AFStatus_19_G2                  : Back Focus (+44)
[Sony]          AFStatus_20_H2                  : Out of Focus
[Sony]          AFStatus_21_C1                  : Out of Focus
[Sony]          AFStatus_22_D1                  : Out of Focus
[Sony]          AFStatus_23_E1                  : Out of Focus
[Sony]          AFStatus_24_F1                  : Out of Focus
[Sony]          AFStatus_25_G1                  : Out of Focus
[Sony]          AFStatus_26_A7_Vertical         : Out of Focus
[Sony]          AFStatus_27_A6_Vertical         : Front Focus (-127)
[Sony]          AFStatus_28_A5_Vertical         : Out of Focus
[Sony]          AFStatus_29_C7_Vertical         : Front Focus (-126)
[Sony]          AFStatus_30_C6_Vertical         : Front Focus (-111)
[Sony]          AFStatus_31_C5_Vertical         : Front Focus (-67)
[Sony]          AFStatus_32_E7_Vertical         : Front Focus (-131)
[Sony]          AFStatus_33_E6_Center_Vertical  : Front Focus (-104)
[Sony]          AFStatus_34_E5_Vertical         : Back Focus (+26)
[Sony]          AFStatus_35_G7_Vertical         : Back Focus (+4)
[Sony]          AFStatus_36_G6_Vertical         : Front Focus (-8)
[Sony]          AFStatus_37_G5_Vertical         : Back Focus (+32)
[Sony]          AFStatus_38_I7_Vertical         : Out of Focus
[Sony]          AFStatus_39_I6_Vertical         : Back Focus (+37)
[Sony]          AFStatus_40_I5_Vertical         : Out of Focus
[Sony]          AFStatus_41_A7                  : Out of Focus
[Sony]          AFStatus_42_B7                  : Front Focus (-129)
[Sony]          AFStatus_43_C7                  : Front Focus (-78)
[Sony]          AFStatus_44_D7                  : Front Focus (-65)
[Sony]          AFStatus_45_E7                  : Front Focus (-97)
[Sony]          AFStatus_46_F7                  : Front Focus (-81)
[Sony]          AFStatus_47_G7                  : Front Focus (-29)
[Sony]          AFStatus_48_H7                  : Front Focus (-8)
[Sony]          AFStatus_49_I7                  : Out of Focus
[Sony]          AFStatus_50_A6                  : Out of Focus
[Sony]          AFStatus_51_B6                  : Front Focus (-91)
[Sony]          AFStatus_52_C6                  : Front Focus (-161)
[Sony]          AFStatus_53_D6                  : Front Focus (-135)
[Sony]          AFStatus_54_E6_Center           : Front Focus (-115)
[Sony]          AFStatus_55_F6                  : Front Focus (-124)
[Sony]          AFStatus_56_G6                  : Front Focus (-130)
[Sony]          AFStatus_57_H6                  : Back Focus (+39)
[Sony]          AFStatus_58_I6                  : Out of Focus
[Sony]          AFStatus_59_A5                  : Out of Focus
[Sony]          AFStatus_60_B5                  : Back Focus (+15)
[Sony]          AFStatus_61_C5                  : Back Focus (+24)
[Sony]          AFStatus_62_D5                  : Out of Focus
[Sony]          AFStatus_63_E5                  : Front Focus (-86)
[Sony]          AFStatus_64_F5                  : Front Focus (-115)
[Sony]          AFStatus_65_G5                  : Front Focus (-141)
[Sony]          AFStatus_66_H5                  : Out of Focus
[Sony]          AFStatus_67_I5                  : Out of Focus
[Sony]          AFStatus_68_C11                 : Out of Focus
[Sony]          AFStatus_69_D11                 : Out of Focus
[Sony]          AFStatus_70_E11                 : Out of Focus
[Sony]          AFStatus_71_F11                 : Out of Focus
[Sony]          AFStatus_72_G11                 : Out of Focus
[Sony]          AFStatus_73_B10                 : Out of Focus
[Sony]          AFStatus_74_C10                 : Front Focus (-41)
[Sony]          AFStatus_75_D10                 : Front Focus (-60)
[Sony]          AFStatus_76_E10                 : Front Focus (-65)
[Sony]          AFStatus_77_F10                 : Front Focus (-52)
[Sony]          AFStatus_78_G10                 : Back Focus (+11)
[Sony]          AFStatus_79_H10                 : Out of Focus
[Sony]          AFStatus_80_B9                  : Front Focus (-108)
[Sony]          AFStatus_81_C9                  : Front Focus (-87)
[Sony]          AFStatus_82_D9                  : Front Focus (-79)
[Sony]          AFStatus_83_E9                  : Front Focus (-34)
[Sony]          AFStatus_84_F9                  : Back Focus (+16)
[Sony]          AFStatus_85_G9                  : Back Focus (+5)
[Sony]          AFStatus_86_H9                  : Front Focus (-36)
[Sony]          AFStatus_87_B8                  : Front Focus (-148)
[Sony]          AFStatus_88_C8                  : Front Focus (-177)
[Sony]          AFStatus_89_D8                  : Front Focus (-155)
[Sony]          AFStatus_90_E8                  : Front Focus (-122)
[Sony]          AFStatus_91_F8                  : Front Focus (-88)
[Sony]          AFStatus_92_G8                  : Front Focus (-68)
[Sony]          AFStatus_93_H8                  : Front Focus (-10)
[Sony]          AFStatus_94_E6_Center_F2-8      : Out of Focus
[Sony]          ReleaseMode2                    : Normal
[Sony]          DynamicRangeOptimizer           : Auto
[Sony]          ReleaseMode3                    : Normal
[Sony]          ReleaseMode2                    : Normal
[Sony]          SelfTimer                       : Off
[Sony]          FlashMode                       : Flash Off
[Sony]          StopsAboveBaseISO               : 0
[Sony]          BrightnessValue                 : 5.70078125
[Sony]          DynamicRangeOptimizer           : Auto
[Sony]          HDRSetting                      : Off
[Sony]          ExposureCompensation            : 0
[Sony]          PictureProfile                  : Gamma Still - Standard/Neutral (PP2)
[Sony]          PictureProfile                  : Gamma Still - Standard/Neutral (PP2)
[Sony]          PictureEffect2                  : Off
[Sony]          Quality2                        : JPEG
[Sony]          MeteringMode                    : Multi-segment
[Sony]          ExposureProgram                 : iAuto+
[Sony]          WB_RGBLevels                    : 625 256 422
[Sony]          FocalLength                     : 28.0 mm
[Sony]          MinFocalLength                  : 18.0 mm
[Sony]          MaxFocalLength                  : 55.0 mm
[Sony]          SonyISO                         : 100
[Sony]          DistortionCorrParams            : 5 0 -10 -22 -39 -59 -83 -109 -140 -174 -215 -215 -215 -215 -215 -215
[Sony]          LensFormat                      : APS-C
[Sony]          LensMount                       : A-mount
[Sony]          LensType                        : Sony DT 18-55mm F3.5-5.6 SAM (SAL1855) or SAM II
[Sony]          DistortionCorrParamsPresent     : Yes
[Sony]          DistortionCorrParamsNumber      : 11 (APS-C)
[Sony]          SonyMaxAperture                 : 4.3
[Sony]          SonyMinAperture                 : 26
[Sony]          Shutter                         : Mechanical (3388 5733 6451)
[Sony]          FlashStatus                     : Built-in Flash present
[Sony]          ShutterCount                    : 376
[Sony]          SonyExposureTime                : 1/72
[Sony]          SonyFNumber                     : 5.0
[Sony]          ReleaseMode2                    : Normal
[Sony]          ReleaseMode2                    : Normal
[Sony]          InternalSerialNumber            : 0808822666
[Sony]          LensMount                       : A-mount
[Sony]          LensFormat                      : APS-C
[Sony]          LensType                        : Sony DT 18-55mm F3.5-5.6 SAM (SAL1855) or SAM II
[Sony]          DistortionCorrParamsPresent     : Yes
[Sony]          LensSpecFeatures                : DT SAM II
[Sony]          ShutterCount3                   : 376
[InteropIFD]    InteropIndex                    : R98 - DCF basic file (sRGB)
[InteropIFD]    InteropVersion                  : 0100
[PrintIM]       PrintIMVersion                  : 0300
[IFD1]          Compression                     : JPEG (old-style)
[IFD1]          ImageDescription                :
[IFD1]          Make                            : SONY
[IFD1]          Model                           : ILCA-68
[IFD1]          Orientation                     : Horizontal (normal)
[IFD1]          XResolution                     : 72
[IFD1]          YResolution                     : 72
[IFD1]          ResolutionUnit                  : inches
[IFD1]          Software                        : ILCA-68 v1.00
[IFD1]          ModifyDate                      : 2018:09:04 11:31:30
[IFD1]          ThumbnailOffset                 : 38522
[IFD1]          ThumbnailLength                 : 10578
[IFD1]          YCbCrPositioning                : Co-sited
[IFD1]          ThumbnailImage                  : (Binary data 10578 bytes, use -b option to extract)
[MPF0]          MPFVersion                      : 0100
[MPF0]          NumberOfImages                  : 2
[MPImage1]      MPImageFlags                    : Representative image, Dependent parent image
[MPImage1]      MPImageFormat                   : JPEG
[MPImage1]      MPImageType                     : Baseline MP Primary Image
[MPImage1]      MPImageLength                   : 9916433
[MPImage1]      MPImageStart                    : 0
[MPImage1]      DependentImage1EntryNumber      : 2
[MPImage1]      DependentImage2EntryNumber      : 0
[MPImage2]      MPImageFlags                    : Dependent child image
[MPImage2]      MPImageFormat                   : JPEG
[MPImage2]      MPImageType                     : Large Thumbnail (full HD equivalent)
[MPImage2]      MPImageLength                   : 1225354
[MPImage2]      MPImageStart                    : 9916928
[MPImage2]      DependentImage1EntryNumber      : 0
[MPImage2]      DependentImage2EntryNumber      : 0
[MPImage2]      PreviewImage                    : (Binary data 1225354 bytes, use -b option to extract)
[IPTC]          CodedCharacterSet               : UTF8
[IPTC]          ApplicationRecordVersion        : 2
[IPTC]          Caption-Abstract                : Caption
[IPTC]          Keywords                        : Keyword
[XMP-x]         XMPToolkit                      : XMP Core 6.0.0
[XMP-dc]        Description                     : Caption
[XMP-dc]        Subject                         : Keyword
[Composite]     Aperture                        : 5.0
[Composite]     BlueBalance                     : 1.648438
[Composite]     ImageSize                       : 6000x4000
[Composite]     LensID                          : Sony DT 18-55mm F3.5-5.6 SAM II (SAL18552)
[Composite]     Megapixels                      : 24.0
[Composite]     RedBalance                      : 2.441406
[Composite]     ScaleFactor35efl                : 1.5
[Composite]     ShutterSpeed                    : 1/80
[Composite]     FocusDistance2                  : 8.33 m
[Composite]     CircleOfConfusion               : 0.020 mm
[Composite]     FOV                             : 46.4 deg
[Composite]     FocalLength35efl                : 28.0 mm (35 mm equivalent: 42.0 mm)
[Composite]     HyperfocalDistance              : 7.83 m
[Composite]     LightValue                      : 11.0


- Matti

wywh

GraphicConverter's "Exif Specifics > Delete Exif Image Description tags" fixes this by removing the empty 'IFD0:ImageDescription' which Photos prioritizes for some reason.

Or the same via exiftool:

exiftool -m -P -overwrite_original_in_place -IFD0:ImageDescription= .

StarGeek

Glad you figured it out because I had nothing to offer.

Since I absolutely hate having empty entries in my data, I have a command along these lines (actually a bit more complex, but still the basic idea)
exiftool -iptc:all-= -xmp:all-= -exif:all-= /path/to/files/

This will remove empty entries without touching the other tags.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype