lost of exif data when converting from raw

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

lost of exif data when converting from raw

Bugzilla from michel.pottier@free.fr
Hello all,
 When i convert raw file (nikon nef) to jpeg format i lost all the meta-data.
I have not this problem when converting to png format.
Is there something to configure?

I use digikam 0.9.4 with a mandriva 2008.1
Thanks in advance
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: lost of exif data when converting from raw

Gerhard Kulzer-3

On Monday 11 August 2008 14:56:30 POTTIER Michel wrote:

> Hello all,

> When i convert raw file (nikon nef) to jpeg format i lost all the

> meta-data. I have not this problem when converting to png format.

> Is there something to configure?

>

> I use digikam 0.9.4 with a mandriva 2008.1

> Thanks in advance

Don't you have it the other way around?

There is no setting, if possible digiKam will write metadata to any file format. And jpeg is the first one to be supported.

Gerhard


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

Re: lost of exif data when converting from raw

Bugzilla from michel.pottier@free.fr
Le Monday 11 August 2008 15:11:12 Gerhard Kulzer, vous avez écrit :

> On Monday 11 August 2008 14:56:30 POTTIER Michel wrote:
> > Hello all,
> >  When i convert raw file (nikon nef) to jpeg format i lost all the
> > meta-data. I have not this problem when converting to png format.
> > Is there something to configure?
> >
> > I use digikam 0.9.4 with a mandriva 2008.1
> > Thanks in advance
>
> Don't you have it the other way around?
> There is no setting, if possible digiKam will write metadata to any file
> format. And jpeg is the first one to be supported.
If I save from png to jpeg I have the meta-data in the new jpeg file.
So i can do: Raw --> png ---> jpg
But it was very strange for me to have not the exif in the jpeg and to have it
in the png file because, as you say, jpeg is the first supported format, and
because in the documentation of dcraw they said "If you choose JPEG as Save
Format then the meta-data included in RAW file will be included in the JPEG
files like Exif information."
So i think something is wrong somewhere.
Thanks


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

Re: lost of exif data when converting from raw

Gilles Caulier-4
Michel,

If in your workflow RAW -> PNG -> JPEG, the fianl JPEG file include
Exif, this must mean than Exif are in PNG (:=)))

try exiftool foo.png for ex in a console.

But, i'm suprized... You canot see Exif in digiKam ?

Note : i always use PNG in my RAW workflow everyday. Exif is visible in digiKam.

Note2 : I have implemented PNG metadata writting mode on the fly in
current Exiv2 library (next 0.18). This is want mean than you will be
able to record/update all digiKam metadata as it's done with JPEG
(using Caption and Tags for ex.)

http://www.digikam.org/drupal/node/361
http://www.digikam.org/drupal/node/362

Best

Gilles Caulier



2008/8/11 POTTIER Michel <[hidden email]>:

> Le Monday 11 August 2008 15:11:12 Gerhard Kulzer, vous avez écrit :
>> On Monday 11 August 2008 14:56:30 POTTIER Michel wrote:
>> > Hello all,
>> >  When i convert raw file (nikon nef) to jpeg format i lost all the
>> > meta-data. I have not this problem when converting to png format.
>> > Is there something to configure?
>> >
>> > I use digikam 0.9.4 with a mandriva 2008.1
>> > Thanks in advance
>>
>> Don't you have it the other way around?
>> There is no setting, if possible digiKam will write metadata to any file
>> format. And jpeg is the first one to be supported.
> If I save from png to jpeg I have the meta-data in the new jpeg file.
> So i can do: Raw --> png ---> jpg
> But it was very strange for me to have not the exif in the jpeg and to have it
> in the png file because, as you say, jpeg is the first supported format, and
> because in the documentation of dcraw they said "If you choose JPEG as Save
> Format then the meta-data included in RAW file will be included in the JPEG
> files like Exif information."
> So i think something is wrong somewhere.
> Thanks
>
>
> _______________________________________________
> 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: lost of exif data when converting from raw

Bugzilla from michel.pottier@free.fr
It's probably my bad english.

Le Monday 11 August 2008 17:37:19 Gilles Caulier, vous avez écrit :

> If in your workflow RAW -> PNG -> JPEG, the fianl JPEG file include
> Exif, this must mean than Exif are in PNG (:=)))
>
> try exiftool foo.png for ex in a console.
>
> But, i'm suprized... You canot see Exif in digiKam ?
>
> Note : i always use PNG in my RAW workflow everyday. Exif is visible in
> digiKam.
This is not the problem, I see Exif in digiKam since a long time.
My problem is that I am unable to obtain jpeg file with exif data from a
direct raw conversion: Starting from a raw file I have to convert it in png
(where the exif data are presents) and to convert the png in jpeg (using
a "save as") to obtain a jpeg with exif data.
Raw ---> JPEG : I have a jpeg file WITHOUT exif (this is my problem, and what
I find strange)
Raw ---> PNG :  I have a good png file WITH the  exif data
So starting from a raw file, and if i want a jpeg file with exif data, i have
to convert it in png, then to save the png file as a jpeg file. I should
prefer to be able to convert directly from raw to jpeg and have the metadata
in the jpeg file.
>
> Note2 : I have implemented PNG metadata writting mode on the fly in
> current Exiv2 library (next 0.18). This is want mean than you will be
> able to record/update all digiKam metadata as it's done with JPEG
> (using Caption and Tags for ex.)
It's OK and I use it.
>
En français: Je voulais savoir si il est normal que la conversion du raw vers
le jpeg se fait avec perte des métadonnées (ce qui n'est pas le cas si je
convertis en png) ou si j'ai un problème de configuration.
Merci

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

Re: lost of exif data when converting from raw

Gilles Caulier-4
2008/8/11 POTTIER Michel <[hidden email]>:

> It's probably my bad english.
>
> Le Monday 11 August 2008 17:37:19 Gilles Caulier, vous avez écrit :
>
>> If in your workflow RAW -> PNG -> JPEG, the fianl JPEG file include
>> Exif, this must mean than Exif are in PNG (:=)))
>>
>> try exiftool foo.png for ex in a console.
>>
>> But, i'm suprized... You canot see Exif in digiKam ?
>>
>> Note : i always use PNG in my RAW workflow everyday. Exif is visible in
>> digiKam.
> This is not the problem, I see Exif in digiKam since a long time.
> My problem is that I am unable to obtain jpeg file with exif data from a
> direct raw conversion: Starting from a raw file I have to convert it in png
> (where the exif data are presents) and to convert the png in jpeg (using
> a "save as") to obtain a jpeg with exif data.
> Raw ---> JPEG : I have a jpeg file WITHOUT exif (this is my problem, and what
> I find strange)

It's abnormal of course. What are you use exactly to do it : image
editor or raw converter kipi plugin ?

Which digiKam version ?

Which Exiv2 version ?

Are you any error messages on the console during conversion ?

> Raw ---> PNG :  I have a good png file WITH the  exif data
> So starting from a raw file, and if i want a jpeg file with exif data, i have
> to convert it in png, then to save the png file as a jpeg file. I should
> prefer to be able to convert directly from raw to jpeg and have the metadata
> in the jpeg file.
>>
>> Note2 : I have implemented PNG metadata writting mode on the fly in
>> current Exiv2 library (next 0.18). This is want mean than you will be
>> able to record/update all digiKam metadata as it's done with JPEG
>> (using Caption and Tags for ex.)
> It's OK and I use it.
>>
> En français: Je voulais savoir si il est normal que la conversion du raw vers
> le jpeg se fait avec perte des métadonnées (ce qui n'est pas le cas si je
> convertis en png) ou si j'ai un problème de configuration.

No of course. Let i always said to users, a photo is image data +
metadata. This is a non scence to lost metadata during conversion,
like Krita or gimp do in some case.

With digiKam & co, i try to support metadata everywhere. It's an
important point, espcially for photograph workflow.

Best

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

Re: lost of exif data when converting from raw

Bugzilla from michel.pottier@free.fr

Le Monday 11 August 2008 19:14:57 Gilles Caulier, vous avez écrit :

>

> It's abnormal of course. What are you use exactly to do it : image

> editor or raw converter kipi plugin ?

>

> Which digiKam version ?

0.9.4 Kde 3.5.9 sur mandriva 2008.1

>

> Which Exiv2 version ?

Exiv2 0.16 et KExiv2 librairie 0.1.6

KDcraw 0.1.4

Dcraw 8.83

PNG library 1.2.25

Kipi 0.1.5

>

> Are you any error messages on the console during conversion ?

Running in the console I have (menu Outils (Tools)-->Raw Image Converter) the message:

Found dcraw version: 8.83

Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -e '/PHOTOS/Digikam/2008/Irlande/Kerry/Raw/din_5557.nef'

Using embedded RAW preview extraction

Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -i -v '/PHOTOS/Digikam/2008/Irlande/Kerry/Raw/din_5557.nef'

Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -f -H 0 -b 1 -k 0 -w -q 0 -C 1.00000 1.00000 -o 1 /PHOTOS/Digikam/2008/Irlande/Kerry/Raw/din_5557.nef

RAW decoding StdErr: Loading NIKON D200 image from /PHOTOS/Digikam/2008/Irlande/Kerry/Raw/din_5557.nef ...

RAW decoding StdErr: Scaling with darkness 0, saturation 4028, and

multiplier

RAW decoding StdErr: 1.91796

RAW decoding StdErr: 1.00000

RAW decoding StdErr: 1.26171

RAW decoding StdErr: 1.00000

RAW decoding StdErr:

RAW decoding StdErr: Bilinear interpolation...

RAW decoding StdErr: Converting to sRGB colorspace...

RAW decoding StdErr: Writing data to standard output ...

(800 x 536) JPEG image preview size: 90526 bytes

digikam: Noticed file change in directory /PHOTOS/Digikam/2008/Irlande/Kerry/Raw

Cannot save metadata using Exiv2 (Size of IPTC JPEG segment is larger than 65535 bytes)

digikam: Noticed file change in directory /PHOTOS/Digikam/2008/Irlande/Kerry/Raw

And since my last mail I have noted that for some others raws file it works correctly

>

Many Thanks et bonne soirée


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

Re: lost of exif data when converting from raw

Gilles Caulier-4
2008/8/11 POTTIER Michel <[hidden email]>:

> Le Monday 11 August 2008 19:14:57 Gilles Caulier, vous avez écrit :
>
>>
>
>> It's abnormal of course. What are you use exactly to do it : image
>
>> editor or raw converter kipi plugin ?
>
>>
>
>> Which digiKam version ?
>
> 0.9.4 Kde 3.5.9 sur mandriva 2008.1
>
>>
>
>> Which Exiv2 version ?
>
> Exiv2 0.16 et KExiv2 librairie 0.1.6
>
> KDcraw 0.1.4
>
> Dcraw 8.83
>
> PNG library 1.2.25
>
> Kipi 0.1.5

Hum, not libkipi version. I need "kipi-plugins" package version. It's
not the same

>
>>
>
>> Are you any error messages on the console during conversion ?
>
> Running in the console I have (menu Outils (Tools)-->Raw Image Converter)
> the message:
>
> Found dcraw version: 8.83
>
> Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -e
> '/PHOTOS/Digikam/2008/Irlande/Kerry/Raw/din_5557.nef'
>
> Using embedded RAW preview extraction
>
> Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -i -v
> '/PHOTOS/Digikam/2008/Irlande/Kerry/Raw/din_5557.nef'
>
> Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -f -H 0 -b 1
> -k 0 -w -q 0 -C 1.00000 1.00000 -o 1
> /PHOTOS/Digikam/2008/Irlande/Kerry/Raw/din_5557.nef
>
> RAW decoding StdErr: Loading NIKON D200 image from
> /PHOTOS/Digikam/2008/Irlande/Kerry/Raw/din_5557.nef ...
>
> RAW decoding StdErr: Scaling with darkness 0, saturation 4028, and
>
> multiplier
>
> RAW decoding StdErr: 1.91796
>
> RAW decoding StdErr: 1.00000
>
> RAW decoding StdErr: 1.26171
>
> RAW decoding StdErr: 1.00000
>
> RAW decoding StdErr:
>
> RAW decoding StdErr: Bilinear interpolation...
>
> RAW decoding StdErr: Converting to sRGB colorspace...
>
> RAW decoding StdErr: Writing data to standard output ...
>
> (800 x 536) JPEG image preview size: 90526 bytes
>
> digikam: Noticed file change in directory
> /PHOTOS/Digikam/2008/Irlande/Kerry/Raw
>
> Cannot save metadata using Exiv2 (Size of IPTC JPEG segment is larger than
> 65535 bytes)
>

Ok, this is the problem. I have already fixed this one into digiKam
core but I'm not sure about kipi-plugin raw converter.

Just to be sure, please try to open RAW to digiKam image editor and
same it JPEG.

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

Re: lost of exif data when converting from raw

Bugzilla from michel.pottier@free.fr
Le Monday 11 August 2008 20:01:39 Gilles Caulier, vous avez écrit :

> 2008/8/11 POTTIER Michel <[hidden email]>:
> > Le Monday 11 August 2008 19:14:57 Gilles Caulier, vous avez écrit :
> >> It's abnormal of course. What are you use exactly to do it : image
> >>
> >> editor or raw converter kipi plugin ?
> >>
> >>
> >>
> >> Which digiKam version ?
> >
> > 0.9.4 Kde 3.5.9 sur mandriva 2008.1
> >
> >> Which Exiv2 version ?
> >
> > Exiv2 0.16 et KExiv2 librairie 0.1.6
> >
> > KDcraw 0.1.4
> >
> > Dcraw 8.83
> >
> > PNG library 1.2.25
> >
> > Kipi 0.1.5
>
> Hum, not libkipi version.
> I need "kipi-plugins" package version. It's  not the same
ldd /usr/bin/digikam|grep kipi
        libkipi.so.0 => /usr/lib/libkipi.so.0 (0xb747a000)
ls -l /usr/lib/libkipi.so.0
lrwxrwxrwx 1 root root 16 2008-04-12 14:15 /usr/lib/libkipi.so.0 ->
libkipi.so.0.1.1


> > Cannot save metadata using Exiv2 (Size of IPTC JPEG segment is larger
> > than 65535 bytes)
>
> Ok, this is the problem. I have already fixed this one into digiKam
> core but I'm not sure about kipi-plugin raw converter.
>
> Just to be sure, please try to open RAW to digiKam image editor and
> same it JPEG.
In this case i have a correct jpeg file with exif.


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

Re: lost of exif data when converting from raw

Gilles Caulier-4
2008/8/11 POTTIER Michel <[hidden email]>:

> Le Monday 11 August 2008 20:01:39 Gilles Caulier, vous avez écrit :
>> 2008/8/11 POTTIER Michel <[hidden email]>:
>> > Le Monday 11 August 2008 19:14:57 Gilles Caulier, vous avez écrit :
>> >> It's abnormal of course. What are you use exactly to do it : image
>> >>
>> >> editor or raw converter kipi plugin ?
>> >>
>> >>
>> >>
>> >> Which digiKam version ?
>> >
>> > 0.9.4 Kde 3.5.9 sur mandriva 2008.1
>> >
>> >> Which Exiv2 version ?
>> >
>> > Exiv2 0.16 et KExiv2 librairie 0.1.6
>> >
>> > KDcraw 0.1.4
>> >
>> > Dcraw 8.83
>> >
>> > PNG library 1.2.25
>> >
>> > Kipi 0.1.5
>>
>> Hum, not libkipi version.
>> I need "kipi-plugins" package version. It's  not the same
> ldd /usr/bin/digikam|grep kipi
>        libkipi.so.0 => /usr/lib/libkipi.so.0 (0xb747a000)
> ls -l /usr/lib/libkipi.so.0
> lrwxrwxrwx 1 root root 16 2008-04-12 14:15 /usr/lib/libkipi.so.0 ->
> libkipi.so.0.1.1
>

No. i don't care about libkipi. Use your packages manager and look
"kipi-plugins" package version...

Or more simple. start RAW converter and go to Help button on
bottom/left, and look version from about dialog

>
>> > Cannot save metadata using Exiv2 (Size of IPTC JPEG segment is larger
>> > than 65535 bytes)
>>
>> Ok, this is the problem. I have already fixed this one into digiKam
>> core but I'm not sure about kipi-plugin raw converter.
>>
>> Just to be sure, please try to open RAW to digiKam image editor and
>> same it JPEG.
> In this case i have a correct jpeg file with exif.

ok. it's normal. perhaps you have an old kipi-plugins version on your computer.

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

Re: lost of exif data when converting from raw

Bugzilla from michel.pottier@free.fr
Le Monday 11 August 2008 20:55:09, vous avez écrit :
> 2008/8/11 POTTIER Michel <[hidden email]>:
> > Le Monday 11 August 2008 20:01:39 Gilles Caulier, vous avez écrit :

> No. i don't care about libkipi. Use your packages manager and look
> "kipi-plugins" package version...
rpm -qa|grep kipi:
libkipi0-0.1.5-7mdv2008.1
libkipi-plugins0-0.1.5-3mdv2008.1
libkipi-devel-0.1.5-7mdv2008.1
kipi-plugins-0.1.5-3mdv2008.1
libkipi-plugins-devel-0.1.5-3mdv2008.1
>
> Or more simple. start RAW converter and go to Help button on
> bottom/left, and look version from about dialog
It gives the same:
RAW Image Converter - Kipi-plugins 0.1.5
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Fwd: lost of exif data when converting from raw

Gilles Caulier-4
In reply to this post by Gilles Caulier-4
---------- Forwarded message ----------
From: Gilles Caulier <[hidden email]>
Date: 2008/8/11
Subject: Re: [Digikam-users] lost of exif data when converting from raw
To: [hidden email]


2008/8/11 POTTIER Michel <[hidden email]>:

> Le Monday 11 August 2008 20:55:09, vous avez écrit :
>> 2008/8/11 POTTIER Michel <[hidden email]>:
>> > Le Monday 11 August 2008 20:01:39 Gilles Caulier, vous avez écrit :
>> >> 2008/8/11 POTTIER Michel <[hidden email]>:
>> >> > Le Monday 11 August 2008 19:14:57 Gilles Caulier, vous avez écrit :
>
>>
>> No. i don't care about libkipi. Use your packages manager and look
>> "kipi-plugins" package version...
> rpm -qa|grep kipi:
> libkipi0-0.1.5-7mdv2008.1
> libkipi-plugins0-0.1.5-3mdv2008.1
> libkipi-devel-0.1.5-7mdv2008.1
> kipi-plugins-0.1.5-3mdv2008.1
> libkipi-plugins-devel-0.1.5-3mdv2008.1
>
>>
>> Or more simple. start RAW converter and go to Help button on
>> bottom/left, and look version from about dialog
> It gives:
> RAW Image Converter - Kipi-plugins 0.1.5

Ok. fixed in svn with commit #845471.

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