Update embedded JPEG of RAW Files

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Update embedded JPEG of RAW Files

Bugzilla from gaylord.doirat@gmail.com
Hello Everybody

I use Digikam to manage my photo database for many years.
With my first camera, i took my pictures in JPEG... Digikam was really great.
I bought a SLR camera and started to took pictures in RAW.
I prefer to developpe my raw files in another software than digikam; but i still really like photo database managment of DK. But preview of raws are not updated when i do changes in the raw file (i'm using darktable).
Is there a way (a software included or not in digikam) to update embedded raws with exported jpeg from darktable in order that digikam display a raw preview which includes changes done in darktable?
My search on web make me realised that Lightroom seems to be abble to do that but i didn't succeed in finding a way to to that on linux.

Thanks a lot for your answer.

Gaylord



--
________________________________________
La vie est plus belle quand on est libre !
@@@@@@ LINUX @@@@@@

Libérez vos oreilles : www.jamendo.fr

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Use taging and rating in advanced slideshow

Florian Hennig
Hey Everyone!

I'm using digikam 4.4.0 and I really like the new feature, that it is
possible to tag and rate images during a slideshow. But I also want to
use this feature in the advanced slideshow, because I want to display
shuffled images and want to use the nice image-list function of the
advanced slideshow.

Is there a way to tag/rate via shortcuts in the advanced slideshow?

Greetings from germany,

Flo
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Use taging and rating in advanced slideshow

Gilles Caulier-4
Rating and tagging feature is not shared with Advanced Slideshow as
with digiKam Slideshow

Gilles Caulier

2014-11-03 7:06 GMT+01:00 Florian Hennig <[hidden email]>:

> Hey Everyone!
>
> I'm using digikam 4.4.0 and I really like the new feature, that it is
> possible to tag and rate images during a slideshow. But I also want to
> use this feature in the advanced slideshow, because I want to display
> shuffled images and want to use the nice image-list function of the
> advanced slideshow.
>
> Is there a way to tag/rate via shortcuts in the advanced slideshow?
>
> Greetings from germany,
>
> Flo
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Update embedded JPEG of RAW Files

Jan Wolter
In reply to this post by Bugzilla from gaylord.doirat@gmail.com
It is not possible to make changes on a RAW file directly: you are able to process to RAW file and derive, e.g., a jpeg or tiff version of the photo but the RAW file itself remains unchanged. Hence, digiKam could not preview the RAW file in another way than its embedded jpeg.

Best regards,
Jan

On 11/02/2014 06:04 PM, GDoirat - GMail wrote:
Hello Everybody

I use Digikam to manage my photo database for many years.
With my first camera, i took my pictures in JPEG... Digikam was really great.
I bought a SLR camera and started to took pictures in RAW.
I prefer to developpe my raw files in another software than digikam; but i still really like photo database managment of DK. But preview of raws are not updated when i do changes in the raw file (i'm using darktable).
Is there a way (a software included or not in digikam) to update embedded raws with exported jpeg from darktable in order that digikam display a raw preview which includes changes done in darktable?
My search on web make me realised that Lightroom seems to be abble to do that but i didn't succeed in finding a way to to that on linux.

Thanks a lot for your answer.

Gaylord



--
________________________________________
La vie est plus belle quand on est libre !
@@@@@@ LINUX @@@@@@

Libérez vos oreilles : www.jamendo.fr


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Update embedded JPEG of RAW Files

Elle Stone-2
> On 11/02/2014 06:04 PM, GDoirat - GMail wrote:
>> Hello Everybody
>>
>> I use Digikam to manage my photo database for many years.
>> With my first camera, i took my pictures in JPEG... Digikam was really
>> great.
>> I bought a SLR camera and started to took pictures in RAW.
>> I prefer to developpe my raw files in another software than digikam;
>> but i still really like photo database managment of DK. But preview of
>> raws are not updated when i do changes in the raw file (i'm using
>> darktable).
>> Is there a way (a software included or not in digikam) to update
>> embedded raws with exported jpeg from darktable in order that digikam
>> display a raw preview which includes changes done in darktable?
>> My search on web make me realised that Lightroom seems to be abble to
>> do that but i didn't succeed in finding a way to to that on linux.

Hmm, I have also wished that I could overwrite the embedded preview
jpeg, and also always just assumed that you can't change the embedded
preview jpeg.

But actually it turns out that you *can* overwrite the embedded preview
using exiftool. It's a bit round about:

First develop the raw file.
Then save a copy of the developed raw file as a jpeg.
Then use exiftool to embed the "new preview" jpeg into the raw file,
writing right over the top of the orginal embedded jpeg.

See this page:
http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,2245.0.html?PHPSESSID=njo90ntbht6qapg9on7i9q4l81

/////// Quoting Phil (exiftool author) from the above link:
If I understand you correctly, you want to write same-named
JPEG images as the PreviewImage for a set of CR2 files.

exiftool "-previewImage<=JPGDIR/%f.jpg" -ext cr2 CR2DIR
/////// end quote

I tested the command and it does work. "JPGDIR" and "CR2DIR" need to be
replaced with whatever directories the files are in (can be the same
directory).

It probably wouldn't be too difficult to write a script to automate the
process. Just make sure you test thoroughly on some throwaway images. I
managed to mess up a raw file by running the command with the wrong syntax.

I believe your new preview image must have the same size (and possibly
the same orientation) as the original preview, but I haven't confirmed.

I don't know which embedded file digiKam shows (there are several to
choose from), but I will guess it's the previewImage.

Also see reading and writing examples from
http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool_pod.html

Not every camera raw file has exactly the same set of embedded images.
For example, my canon raw files don't seem to have the "JpgFromRaw" that
is referenced in the exiftool reading and writing examples.

Elle



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Update embedded JPEG of RAW Files

Bugzilla from gaylord.doirat@gmail.com
Hi Elle,

Thanks a lot for your answer.
Sounds great. I will try this. As I have DNG raw file, i have to change to -ext DNG . Hopefully exiftool can read/write DNG !!
If this is working this will solve my problem.
My workflow to process my rawfile would be then :
  • Import raw files in darktable
  • Rate (star) rawfiles in darktable
  • Developpe rated rawfiles (files not rated aren't good, so i don't loose time to developpe them)
  • Export Jpeg
  • Use ExifTool to update embedded JPEG of rawfiles
  • Erase Exported JPEG
  • Open Digikam : he will scan new files and import xmp info (number of star) and show me embedded JPEG updated
  • Finish to complete pictures informations in DK (localization, face recognition, tags, comments...)

This will avoid me to have duplicated files (RAW + JPEG) which was really a pity for me.

I will confirm if this okay in a futur mail, once I could try this more precisely.

See you

Gaylord


2014-11-03 11:54 GMT+01:00 Elle Stone <[hidden email]>:
On 11/02/2014 06:04 PM, GDoirat - GMail wrote:
Hello Everybody

I use Digikam to manage my photo database for many years.
With my first camera, i took my pictures in JPEG... Digikam was really
great.
I bought a SLR camera and started to took pictures in RAW.
I prefer to developpe my raw files in another software than digikam;
but i still really like photo database managment of DK. But preview of
raws are not updated when i do changes in the raw file (i'm using
darktable).
Is there a way (a software included or not in digikam) to update
embedded raws with exported jpeg from darktable in order that digikam
display a raw preview which includes changes done in darktable?
My search on web make me realised that Lightroom seems to be abble to
do that but i didn't succeed in finding a way to to that on linux.

Hmm, I have also wished that I could overwrite the embedded preview jpeg, and also always just assumed that you can't change the embedded preview jpeg.

But actually it turns out that you *can* overwrite the embedded preview using exiftool. It's a bit round about:

First develop the raw file.
Then save a copy of the developed raw file as a jpeg.
Then use exiftool to embed the "new preview" jpeg into the raw file, writing right over the top of the orginal embedded jpeg.

See this page:
http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,2245.0.html?PHPSESSID=njo90ntbht6qapg9on7i9q4l81

/////// Quoting Phil (exiftool author) from the above link:
If I understand you correctly, you want to write same-named
JPEG images as the PreviewImage for a set of CR2 files.

exiftool "-previewImage<=JPGDIR/%f.jpg" -ext cr2 CR2DIR
/////// end quote

I tested the command and it does work. "JPGDIR" and "CR2DIR" need to be replaced with whatever directories the files are in (can be the same directory).

It probably wouldn't be too difficult to write a script to automate the process. Just make sure you test thoroughly on some throwaway images. I managed to mess up a raw file by running the command with the wrong syntax.

I believe your new preview image must have the same size (and possibly the same orientation) as the original preview, but I haven't confirmed.

I don't know which embedded file digiKam shows (there are several to choose from), but I will guess it's the previewImage.

Also see reading and writing examples from http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool_pod.html

Not every camera raw file has exactly the same set of embedded images. For example, my canon raw files don't seem to have the "JpgFromRaw" that is referenced in the exiftool reading and writing examples.

Elle




_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



--
________________________________________
La vie est plus belle quand on est libre !
@@@@@@ LINUX @@@@@@

Libérez vos oreilles : www.jamendo.fr

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Update embedded JPEG of RAW Files

Bugzilla from gaylord.doirat@gmail.com
Good evening
I've just made some tests on 3 DNG Pictures.
This is working perfectly!
I test the full process until exporting on my piwigo gallery... Really great; thanks a lot.
Gaylord

2014-11-03 23:45 GMT+01:00 GDoirat - GMail <[hidden email]>:
Hi Elle,

Thanks a lot for your answer.
Sounds great. I will try this. As I have DNG raw file, i have to change to -ext DNG . Hopefully exiftool can read/write DNG !!
If this is working this will solve my problem.
My workflow to process my rawfile would be then :
  • Import raw files in darktable
  • Rate (star) rawfiles in darktable
  • Developpe rated rawfiles (files not rated aren't good, so i don't loose time to developpe them)
  • Export Jpeg
  • Use ExifTool to update embedded JPEG of rawfiles
  • Erase Exported JPEG
  • Open Digikam : he will scan new files and import xmp info (number of star) and show me embedded JPEG updated
  • Finish to complete pictures informations in DK (localization, face recognition, tags, comments...)

This will avoid me to have duplicated files (RAW + JPEG) which was really a pity for me.

I will confirm if this okay in a futur mail, once I could try this more precisely.

See you

Gaylord


2014-11-03 11:54 GMT+01:00 Elle Stone <[hidden email]>:
On 11/02/2014 06:04 PM, GDoirat - GMail wrote:
Hello Everybody

I use Digikam to manage my photo database for many years.
With my first camera, i took my pictures in JPEG... Digikam was really
great.
I bought a SLR camera and started to took pictures in RAW.
I prefer to developpe my raw files in another software than digikam;
but i still really like photo database managment of DK. But preview of
raws are not updated when i do changes in the raw file (i'm using
darktable).
Is there a way (a software included or not in digikam) to update
embedded raws with exported jpeg from darktable in order that digikam
display a raw preview which includes changes done in darktable?
My search on web make me realised that Lightroom seems to be abble to
do that but i didn't succeed in finding a way to to that on linux.

Hmm, I have also wished that I could overwrite the embedded preview jpeg, and also always just assumed that you can't change the embedded preview jpeg.

But actually it turns out that you *can* overwrite the embedded preview using exiftool. It's a bit round about:

First develop the raw file.
Then save a copy of the developed raw file as a jpeg.
Then use exiftool to embed the "new preview" jpeg into the raw file, writing right over the top of the orginal embedded jpeg.

See this page:
http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,2245.0.html?PHPSESSID=njo90ntbht6qapg9on7i9q4l81

/////// Quoting Phil (exiftool author) from the above link:
If I understand you correctly, you want to write same-named
JPEG images as the PreviewImage for a set of CR2 files.

exiftool "-previewImage<=JPGDIR/%f.jpg" -ext cr2 CR2DIR
/////// end quote

I tested the command and it does work. "JPGDIR" and "CR2DIR" need to be replaced with whatever directories the files are in (can be the same directory).

It probably wouldn't be too difficult to write a script to automate the process. Just make sure you test thoroughly on some throwaway images. I managed to mess up a raw file by running the command with the wrong syntax.

I believe your new preview image must have the same size (and possibly the same orientation) as the original preview, but I haven't confirmed.

I don't know which embedded file digiKam shows (there are several to choose from), but I will guess it's the previewImage.

Also see reading and writing examples from http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool_pod.html

Not every camera raw file has exactly the same set of embedded images. For example, my canon raw files don't seem to have the "JpgFromRaw" that is referenced in the exiftool reading and writing examples.

Elle




_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



--
________________________________________
La vie est plus belle quand on est libre !
@@@@@@ LINUX @@@@@@

Libérez vos oreilles : www.jamendo.fr



--
________________________________________
La vie est plus belle quand on est libre !
@@@@@@ LINUX @@@@@@

Libérez vos oreilles : www.jamendo.fr

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Update embedded JPEG of RAW Files

Elle Stone-2
On 11/04/2014 05:56 PM, GDoirat - GMail wrote:
> Good evening
> I've just made some tests on 3 DNG Pictures.
> This is working perfectly!
> I test the full process until exporting on my piwigo gallery... Really
> great; thanks a lot.
> Gaylord

Thanks! for reporting back - nice to hear the process really does work.

Did you happen to check what happens when the  new embedded jpeg is in
different RGB working spaces? Or does the new preview need to be only
sRGB? I wonder whether it's OK to embed metadata in the new preview and
whether digiKam reads the embedded preview's ICC profile.

Elle

>
> 2014-11-03 23:45 GMT+01:00 GDoirat - GMail <[hidden email]
> <mailto:[hidden email]>>:
>
>     Hi Elle,
>
>     Thanks a lot for your answer.
>     Sounds great. I will try this. As I have DNG raw file, i have to
>     change to -ext DNG . Hopefully exiftool can read/write DNG !!
>     If this is working this will solve my problem.
>     My workflow to process my rawfile would be then :
>
>       * Import raw files in darktable
>       * Rate (star) rawfiles in darktable
>       * Developpe rated rawfiles (files not rated aren't good, so i
>         don't loose time to developpe them)
>       * Export Jpeg
>       * Use ExifTool to update embedded JPEG of rawfiles
>       * Erase Exported JPEG
>       * Open Digikam : he will scan new files and import xmp info
>         (number of star) and show me embedded JPEG updated
>       * Finish to complete pictures informations in DK (localization,
>         face recognition, tags, comments...)
>
>     This will avoid me to have duplicated files (RAW + JPEG) which was
>     really a pity for me.
>
>     I will confirm if this okay in a futur mail, once I could try this
>     more precisely.
>
>     See you
>
>     Gaylord
>
>
>     2014-11-03 11:54 GMT+01:00 Elle Stone
>     <[hidden email]
>     <mailto:[hidden email]>>:
>
>             On 11/02/2014 06:04 PM, GDoirat - GMail wrote:
>
>                 Hello Everybody
>
>                 I use Digikam to manage my photo database for many years.
>                 With my first camera, i took my pictures in JPEG...
>                 Digikam was really
>                 great.
>                 I bought a SLR camera and started to took pictures in RAW.
>                 I prefer to developpe my raw files in another software
>                 than digikam;
>                 but i still really like photo database managment of DK.
>                 But preview of
>                 raws are not updated when i do changes in the raw file
>                 (i'm using
>                 darktable).
>                 Is there a way (a software included or not in digikam)
>                 to update
>                 embedded raws with exported jpeg from darktable in order
>                 that digikam
>                 display a raw preview which includes changes done in
>                 darktable?
>                 My search on web make me realised that Lightroom seems
>                 to be abble to
>                 do that but i didn't succeed in finding a way to to that
>                 on linux.
>
>
>         Hmm, I have also wished that I could overwrite the embedded
>         preview jpeg, and also always just assumed that you can't change
>         the embedded preview jpeg.
>
>         But actually it turns out that you *can* overwrite the embedded
>         preview using exiftool. It's a bit round about:
>
>         First develop the raw file.
>         Then save a copy of the developed raw file as a jpeg.
>         Then use exiftool to embed the "new preview" jpeg into the raw
>         file, writing right over the top of the orginal embedded jpeg.
>
>         See this page:
>         http://u88.n24.queensu.ca/__exiftool/forum/index.php/__topic,2245.0.html?PHPSESSID=__njo90ntbht6qapg9on7i9q4l81
>         <http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,2245.0.html?PHPSESSID=njo90ntbht6qapg9on7i9q4l81>
>
>         /////// Quoting Phil (exiftool author) from the above link:
>         If I understand you correctly, you want to write same-named
>         JPEG images as the PreviewImage for a set of CR2 files.
>
>         exiftool "-previewImage<=JPGDIR/%f.jpg" -ext cr2 CR2DIR
>         /////// end quote
>
>         I tested the command and it does work. "JPGDIR" and "CR2DIR"
>         need to be replaced with whatever directories the files are in
>         (can be the same directory).
>
>         It probably wouldn't be too difficult to write a script to
>         automate the process. Just make sure you test thoroughly on some
>         throwaway images. I managed to mess up a raw file by running the
>         command with the wrong syntax.
>
>         I believe your new preview image must have the same size (and
>         possibly the same orientation) as the original preview, but I
>         haven't confirmed.
>
>         I don't know which embedded file digiKam shows (there are
>         several to choose from), but I will guess it's the previewImage.
>
>         Also see reading and writing examples from
>         http://www.sno.phy.queensu.ca/__~phil/exiftool/exiftool_pod.__html
>         <http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool_pod.html>
>
>         Not every camera raw file has exactly the same set of embedded
>         images. For example, my canon raw files don't seem to have the
>         "JpgFromRaw" that is referenced in the exiftool reading and
>         writing examples.
>
>         Elle
>
>
>
>
>         _________________________________________________
>         Digikam-users mailing list
>         [hidden email] <mailto:[hidden email]>
>         https://mail.kde.org/mailman/__listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>
>
>
>     --
>     ________________________________________
>     La vie est plus belle quand on est libre !
>     @@@@@@ LINUX @@@@@@
>
>     Libérez vos oreilles : www.jamendo.fr <http://www.jamendo.fr>
>
>
>
>
> --
> ________________________________________
> La vie est plus belle quand on est libre !
> @@@@@@ LINUX @@@@@@
>
> Libérez vos oreilles : www.jamendo.fr <http://www.jamendo.fr>
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users