Color label information - where?

It appears that ART stores and looks for color label data in an xmp file whereas RT stores and looks for this data in a pp3 file. Neither look for this data within a dng file. Is this correct?

If so this has the implication that ART can’t filter, by color, files that where labeled by RT or any application that writes that data to the dng file; only files labelled by ART. Similarly for RT. I need ART to filter files where the color label has been written to the dng file. I assume that I am just out of luck on that one. Is that the case?

I thought ART used .ARP files, not XMP?

It does. But if you set the color class in ART it writes that to an xmp file. And everything works just fine if you are working with a raw file where the metadata (IPTC) is in an xmp file. However, it fails when the all of the metadata is saved internal to the raw file as in a dng file.

Hi, can you share one such dng? Thanks!

20241123-00176.dng (69.6 MB)

This file is a linear dng from DxO PureRaw 4.

Hi,
thanks for the sample, but I can’t even open the file…

Let me try again. I had an issue in the uploading process but I thought it was OK. Sorry about that.

Second attempt

20241123-00176.dng (69.6 MB)

I downloaded the file to test it. It opens in ART (editor tab) but the thumbnail doesn’t show. Nor does ART respond to the colour class.

Thanks, now I can open it. But the only color-related tag that I see is Xmp.photomechanic.ColorClass, which is not something that ART will recognize even if it were in an XMP sidecar. ART uses Xmp.xmp.Label, with values Red, Yellow, Green, Blue, Purple. At the moment it only looks in XMP sidecars, but we can change that if needed. But this won’t help you much until you can write those values in your workflow…

1 Like

OK. Thank you. I’ll have to think further on this. I guess I could write a little script to do the conversion but that’s a bit clunky.

@agriggio Sorry to be a nuisance about this about this but something is not right.

I downloaded my own file (above) and moved it into an empty directory on my computer.

I then ran the command

C:\Users\inbox>exiftool -xmp -b -w xmp "D:\photos\temp\dng"

This extracted the following xmp file

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.6.0">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
    xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
    xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
    xmlns:DxO="http://ns.dxo.com/framework/1.0/"
    xmlns:exifEX="http://cipa.jp/exif/1.0/"
    xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
    xmlns:xmpRights="http://ns.adobe.com/xap/1.0/rights/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
    xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/"
    xmlns:photomechanic="http://ns.camerabits.com/photomechanic/1.0/"
   xmp:ModifyDate="2024-11-26T13:16:17-05:00"
   xmp:MetadataDate="2024-11-26T13:16:17-05:00"
   xmp:CreatorTool="DxO PureRAW 4"
   xmp:CreateDate="2024-11-23T21:34:00"
   xmp:Label="Yellow"
   xmp:Rating="0"
   aux:SerialNumber="BJ9A26557"
   aux:LensInfo="75/1 75/1 18/10 18/10"
   aux:Lens="OLYMPUS M.75mm F1.8"
   aux:ImageNumber="4200"
   xmpMM:PreservedFileName="20241123-00176.orf"
   crs:ColorNoiseReduction="0"
   crs:LuminanceSmoothing="0"
   crs:Sharpness="0"
   crs:AlreadyApplied="False"
   crs:ProcessVersion="15.4"
   crs:RawFileName="20241123-00176.orf"
   DxO:WhiteLevel="30674"
   DxO:AdobeWhiteLevel="29984"
   exifEX:LensModel="OLYMPUS M.75mm F1.8"
   photoshop:City="Deep River"
   photoshop:State="Ontario"
   photoshop:Country="Canada"
   photoshop:Credit="Bob McElroy (https://mcelroy.ca)"
   photoshop:Headline="Sierra Levesque performs at Long Shots - 2024 November 23"
   photoshop:DateCreated="2024-11-23T21:34:00"
   xmpRights:Marked="True"
   Iptc4xmpCore:Location="Deep River / Long Shots"
   photomechanic:ColorClass="2"
   photomechanic:Tagged="False"
   photomechanic:Prefs="0:2:0:004200"
   photomechanic:PMVersion="PM6">
   <crs:Look>
    <rdf:Description
     crs:Name="Adobe Color"
     crs:Amount="1.000000">
    <crs:Parameters>
     <rdf:Description
      crs:CameraProfile="Adobe Standard"
      crs:LookTable="E1095149FDB39D7A057BAB208837E2E1">
     <crs:ToneCurvePV2012>
      <rdf:Bag>
       <rdf:li>0, 0</rdf:li>
       <rdf:li>22, 16</rdf:li>
       <rdf:li>40, 35</rdf:li>
       <rdf:li>127, 127</rdf:li>
       <rdf:li>224, 230</rdf:li>
       <rdf:li>240, 246</rdf:li>
       <rdf:li>255, 255</rdf:li>
      </rdf:Bag>
     </crs:ToneCurvePV2012>
     </rdf:Description>
    </crs:Parameters>
    </rdf:Description>
   </crs:Look>
   <dc:subject>
    <rdf:Bag>
     <rdf:li>E-M5MarkIII</rdf:li>
     <rdf:li>OLYMPUS M.75mm F1.8</rdf:li>
     <rdf:li>Long Shots Sports Cafe</rdf:li>
     <rdf:li>Deep River</rdf:li>
     <rdf:li>Sierra Levesque</rdf:li>
     <rdf:li>music</rdf:li>
     <rdf:li>facebook</rdf:li>
     <rdf:li>website</rdf:li>
    </rdf:Bag>
   </dc:subject>
   <dc:description>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">   </rdf:li>
    </rdf:Alt>
   </dc:description>
   <dc:creator>
    <rdf:Seq>
     <rdf:li>Bob</rdf:li>
    </rdf:Seq>
   </dc:creator>
   <dc:rights>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">CC BY 4.0 : © Bob McElroy (https://mcelroy.ca), {year};  license: https://creativecommons.org/licenses/by/4.0/</rdf:li>
    </rdf:Alt>
   </dc:rights>
   <Iptc4xmpCore:AltTextAccessibility>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">Sierra Levesque performs at Long Shots - 2024 November 23</rdf:li>
    </rdf:Alt>
   </Iptc4xmpCore:AltTextAccessibility>
   <Iptc4xmpCore:CreatorContactInfo
    Iptc4xmpCore:CiAdrExtadr="RR 1"
    Iptc4xmpCore:CiAdrCity="Deep River"
    Iptc4xmpCore:CiAdrRegion="Ontario"
    Iptc4xmpCore:CiAdrPcode="K0J 1P0"
    Iptc4xmpCore:CiAdrCtry="Canada"
    Iptc4xmpCore:CiEmailWork="bob@mcelroy.ca"
    Iptc4xmpCore:CiUrlWork="www.mcelroy.ca"/>
   <Iptc4xmpExt:PersonInImage>
    <rdf:Bag>
     <rdf:li>Sierra Levesque</rdf:li>
    </rdf:Bag>
   </Iptc4xmpExt:PersonInImage>
  </rdf:Description>
 </rdf:RDF>
</x:xmpmeta>
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                        
<?xpacket end="w"?>

This file does include the line xmp:Label="Yellow"
as well as the line
photomechanic:ColorClass="2"

And now, with this xmp file present in the same directory as the dng file, when I open the dng file in ART, the color class is recognized and I can filter on it.

So by running exiftool, I can indeed generate appropriate xmp files, but it would be much more convenient and user friendly if ART were to read this data from the dng file directly.

Perhaps exiftool is helping you out when creating the XMP:

exiftool 20241123-00176.dng | grep -i color 
Color Noise Reduction           : 0
Color Class                     : 2 (Winner alt)
Prefs                           : Tagged:0, ColorClass:2, Rating:0, FrameNum:004200
Look Name                       : Adobe Color
Color Matrix 1                  : 1.3782 -0.7726 0.0645 -0.3366 1.2336 0.1103 -0.0082 0.0624 0.5955
Color Matrix 2                  : 1.1896 -0.511 -0.1076 -0.3181 1.1378 0.2048 -0.0519 0.1224 0.5166
Color Space                     : sRGB
Art Filter Effect               : Off; 0; 0; Partial Color 0; No Effect; 0; No Color Filter; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0
Color Creator Effect            : Color 0; 0; 29; Strength 0; -4; 3
Color Profile Settings          : Min -5; Max 5; Yellow 0; Orange 0; Orange-red 0; Red 0; Magenta 0; Violet 0; Blue 0; Blue-cyan 0; Cyan 0; Green-cyan 0; Green 0; Yellow-green 0
Monochrome Color                : (none)
Raw Dev Memory Color Emphasis   : 0
Raw Dev Color Space             : sRGB
Color Matrix                    : 328 -36 -36 -72 332 -4 14 -152 394

Hi,

Oh, I see… I must have missed it (I used exiftool similar to what @paperdigits did and it was not listed there). Great then, I think we can support this. I’ll put it in the todo list.

@bobm you can try with the current master version and see if it works now.

Thank you. But to test it I would need a windows executable. This is something I would need to build from source. Is that correct?

Here’s a windows nightly build you can test: https://github.com/artpixls/ART/releases/download/nightly/ART_fdca0e4_Win64.exe

Thank you very much for the build and all of your efforts. I have only done a quick set of tests and unfortunately I have to report that it is not working as expected. Its behaviour shows promise but doesn’t seem to be entirely consistent between one set of photos and another. But so far I haven’t been able to clarify what’s different between the sets of photos. I need to investigate further and I will get back to you. Unfortunately I also have to attend to some more mundane details such as getting winter tires on my car first so it may take a day or so.

Hi, I forgot to mention you should clear your ART cache before testing, otherwise you might get strange results. Maybe that’s just that – if not, let me know (no hurry…)

It appears that indeed, my issue was a dirty cache. As far as I can see, it now works as expected. I will start using it normally and see how it goes.

Thank you very much for all of your efforts. Excellent user support and an excellent piece of software.

1 Like