<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>darktable never saves any changes to RAW files. All changes are to be saved in sidecar file originalfilename.xmp<br></div>Both digikam and darktable will be reading and writing the same sidecar file.<br></div>There are few issues here:<br></div>- Writing - Some programs do not respect changes made by another programs and overwrite them;<br></div>- Read - Some programs do not recognize code added to an xmp-file by another programs.<br></div>Please see an example of an XMP file created by darktable attached. You will see that digikam's xmp will be different.<br><br></div>So what needs to be done here?<br></div>Someone needs to work with both digikam and darktable devs and make sure that:<br></div><br></div>- digikam can read changes added by darktable (processing filters, etc.)<br></div>- darktable can read changes added by digikam (tags, etc.)<br>- digikam and darktable use same xmp standards and do not duplicate any information; (e.g. darktable can add keywords (tags); digikam can do RAW editing)<br></div>- digikam and darktable respect each others code added to xmp and do not overwrite anything<br><br></div>Sounds like a lot of work but I do not think there will be much actual coding required from the person. It will be mostly communication and it will be tough since the devs might have different vision on the subject.<br></div><br><div class="gmail_extra"><br></div>I personally think it is a great idea. Actually I have seen similar wishes on <a href="http://discuss.pixls.us">discuss.pixls.us</a>. I think that champions from <a href="http://pixls.us">pixls.us</a> (well respected open source photographers) could become that compound that glues up the two pieces of software together.<br><br><br>PS But be ready to hear "But how about RawTherapee and its pp3 files?"<br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Best regards, <br>Andrey Goreev</div></div>
<br><div class="gmail_quote">On Fri, Jan 6, 2017 at 1:53 PM, Eduard Zalar <span dir="ltr"><<a href="mailto:eduard@zalar.de" target="_blank">eduard@zalar.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">OK, thanks.<div><br></div><div>That's the information I didn't know because I do not work with raw files.  Hopefully you can find a good solution.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Juan Jose Casafranca <<a href="mailto:jjcasmar@gmail.com" target="_blank">jjcasmar@gmail.com</a>> schrieb am Fr., 6. Jan. 2017 um 21:49 Uhr:<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 dir="ltr" class="gmail-m_3215784731692477748gmail_msg">I have also thought something like that. The problem is that raw processors usually dont touch the original raw file. The only output an xmp file. With this in mind, is common to duplicate the xmp file to different processes, so you end with only a raw file but several xmp files for that raw file (imagine you want a black and white version of a photo but also the color version). Therefore, it's not possible to just update the embedded file, because there is not just one unique output from the raw processor :-) </div><div class="gmail_extra gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"><div class="gmail_quote gmail-m_3215784731692477748gmail_msg">2017-01-06 21:46 GMT+01:00 Eduard Zalar <span dir="ltr" class="gmail-m_3215784731692477748gmail_msg"><<a href="mailto:eduard@zalar.de" class="gmail-m_3215784731692477748gmail_msg" target="_blank">eduard@zalar.de</a>></span>:<br class="gmail-m_3215784731692477748gmail_msg"><blockquote class="gmail_quote gmail-m_3215784731692477748gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<div class="gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"></div><div class="gmail-m_3215784731692477748gmail_msg">this is an interesting discussion.</div><div class="gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"></div><div class="gmail-m_3215784731692477748gmail_msg">Wouldn't it be better to enable darktable to update the embedded JPEG image in the raw file?</div><div class="gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"></div><div class="gmail-m_3215784731692477748gmail_msg">In this case digiKam would detect a change in the file and automatically update the thumbnail, isn't it?</div><div class="gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"></div><div class="gmail-m_3215784731692477748gmail_msg">It's just an idea...</div><div class="gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"></div><div class="gmail-m_3215784731692477748gmail_msg">Normally, I do not use raw files so I don't know if there may exist another restriction which avoids this.</div><div class="gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"></div><div class="gmail-m_3215784731692477748gmail_msg">Regards </div><div class="gmail-m_3215784731692477748gmail_msg">Eddie</div><div class="gmail-m_3215784731692477748m_-5646673913950356416HOEnZb gmail-m_3215784731692477748gmail_msg"><div class="gmail-m_3215784731692477748m_-5646673913950356416h5 gmail-m_3215784731692477748gmail_msg"><div class="gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"></div><div class="gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748gmail_msg"><div class="gmail_quote gmail-m_3215784731692477748gmail_msg"><div dir="ltr" class="gmail-m_3215784731692477748gmail_msg">Simon Frei <<a href="mailto:freisim93@gmail.com" class="gmail-m_3215784731692477748gmail_msg" target="_blank">freisim93@gmail.com</a>> schrieb am Fr., 6. Jan. 2017, 20:47:<br class="gmail-m_3215784731692477748gmail_msg"></div><blockquote class="gmail_quote gmail-m_3215784731692477748gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
    First thing to do is open a bugzilla issue where you describe what
    you want:<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
    <a class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999m_-8550149403198194103moz-txt-link-freetext gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg" href="https://bugs.kde.org/enter_bug.cgi?product=digikam&format=guided" target="_blank">https://bugs.kde.org/enter_<wbr>bug.cgi?product=digikam&<wbr>format=guided</a><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
    There you probably get better pointers for where to start from
    experienced devs, I never worked with that part of the code. This is
    the function that creates thumbnails:<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
<a class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999m_-8550149403198194103moz-txt-link-freetext gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg" href="https://cgit.kde.org/digikam.git/tree/libs/threadimageio/thumbnailcreator.cpp?id=429fa5fd8e7f53b74c82eb19dffb2e6cf4b4325c#n455" target="_blank">https://cgit.kde.org/digikam.<wbr>git/tree/libs/threadimageio/<wbr>thumbnailcreator.cpp?id=<wbr>429fa5fd8e7f53b74c82eb19dffb2e<wbr>6cf4b4325c#n455</a></div><div bgcolor="#FFFFFF" class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
    <br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
    <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999m_-8550149403198194103moz-cite-prefix gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">On 06/01/17 20:18, Juan Jose Casafranca
      wrote:<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
    </div>
    <blockquote type="cite" class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
      <div dir="ltr" class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">Yes, exactly, that is my suggestion :-)
        <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">I think that it will give digikam a great boost if it can
          communicate with specific raw processors :-)</div>
        <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
          <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">I understand that it could be an intensive task, but
            there are some ways to limit the heavyness.</div>
          <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">For example, digikam should only process the new
            thumbnail when darktable is opened through digikam interface
            and at the beginning.</div>
          <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">Or maybe just marking which files are dirty and then
            calling darktable in lib mode to update those thumbnails. </div>
          <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
          </div>
          <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">I would be happy to work on something like this. Any idea
            on where to begin with? Ive never touched the digikam code
            ^^</div>
          <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
          </div>
          <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">Cheers</div>
        </div>
      </div>
      <div class="gmail_extra gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
        <div class="gmail_quote gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">2017-01-06 20:10 GMT+01:00 Simon Frei <span dir="ltr" class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg"><<a href="mailto:freisim93@gmail.com" class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg" target="_blank">freisim93@gmail.com</a>></span>:<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
          <blockquote class="gmail_quote gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            <br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            Do I understand you correctly: You want thumbnails of raw
            files that are<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            adjusted based on the processing profiles of darktable?<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            If that is the case, it is (currently) not possible in
            digikam. And such<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            a function would certainly be very resource heavy, as for
            every<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            thumbnail on every change darktable had to process the raw
            file.<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            The interface between digikam and other photo editing
            software could<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            certainly be improved (e.g. versioning too), so I would be
            very happy if<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            you would work on that in any way;)<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            <br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            Cheers,<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            Simon<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
            <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999m_-8550149403198194103HOEnZb gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
              <div class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999m_-8550149403198194103h5 gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg"><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                On 06/01/17 20:01, Juan Jose Casafranca wrote:<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > Hi everybody,<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                ><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > I would like to know if there is any easy way to
                use digikam as a photo<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > management software and use darktable for raw
                editing.<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                ><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > The main issue I'm finding when I try to do this is
                this one<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > -Raw thumbnails are loaded from the jpeg embeded
                file and when I change process<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > my photo in darktable, this thumbnail isn't changed
                in digikam<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                ><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > It would be nice that digikam reads the darktable
                sidecar and uses an specified<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > software (or digikam editor tool if no software is
                specified) to load the<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > preview file for raw pictures. Is there any way to
                do this?<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                ><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > If there's no such way to do this, I will be happy
                to post it in the<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > developers mailing list and try to implement it,
                because I feel that darktable<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > management features are far away from digikam ones
                and digikam editor features<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > are far away from darktable ones. It would be nice
                to have both softwares<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > working together :-)<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                ><br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                > Any idea?<br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                <br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
                <br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
              </div>
            </div>
          </blockquote>
        </div>
        <br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
      </div>
    </blockquote>
    <br class="gmail-m_3215784731692477748m_-5646673913950356416m_5771840738025510999gmail_msg gmail-m_3215784731692477748gmail_msg">
  </div></blockquote></div></div>
</div></div></blockquote></div><br class="gmail-m_3215784731692477748gmail_msg"></div>
</blockquote></div>
</blockquote></div><br></div></div>