<div dir="ltr"><div>Hi,</div><div><br></div><div>For a better interoperability with RT and DT, the better way is :</div><div><br></div><div>1/ to use XMP sidecar with RAW file.</div><div>2/ RT or DT must write the new RAW preview after editing in XMP metadata as base64. DK use already this metadata entry with XMP digiKam namespace to render a JPEG preview of file:</div><div><br></div><div><code>tag : Xmp.digiKam.Preview</code></div><div><code>Code : <a href="https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/metadataengine/engine/metaengine_item.cpp#L1244">https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/metadataengine/engine/metaengine_item.cpp#L1244</a></code></div><div><code><br></code></div><div><code>Best</code></div><div><code><br></code></div><div><code>Gilles Caulier<br></code></div><div><code><br></code></div><div><code><br></code></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 28 juil. 2021 à 12:37, Olivier Croquette <<a href="mailto:ocroquette@free.fr">ocroquette@free.fr</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div>On 27/07/2021 13:14, Øystein
      Andresen-Sund wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Most RAW applications do this, including Adobe
        Lightroom (unless you go to edit mode). Rendering directly from
        RAW would slow down the viewing and browsing process
        considerably and you would probably see an image with different
        colors than what you see in your camera.
        <div class="gmail_quote">
          <div>Try using RawTherapee or Darktable for RAW processing.<br>
          </div>
        </div>
      </div>
    </blockquote>
    <p>Lightroom does something that neither DK, RT or DT do: it caches
      the processed image, so that it is what I see when browsing. It is
      the best of both world: displaying is quick, but I see what
      matters to me. Once I have defined processing settings in RT or
      DT, the embedded preview in the RAW file is completely irrelevant
      and can even more hurt than it helps if the processing changes the
      image substantially, for instance major cropping.</p>
    <p>Questions to the developers: would it be thinkable to call RT or
      DT to render the image, and store this as preview in the DK
      database, instead of the embedded one?</p>
    <p><br>
    </p>
  </div>

</blockquote></div>