Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread sturmflut
Hi Timur,

On 04.04.2018 21:06, Timur Irikovich Davletshin wrote:

> 1. DT relies only on libexiv2 in extraction of EXIF metadata.
> 2. exiv2 fails to extract vendor specific information from DNG file
> (converted via Adobe DNG Converter) when compared with exiftool. But
> original NEF data is there.
> 3. As last resort for lens detection DT relies on Exif.Photo.LensModel,
> which is just ASCII string encoded by converter.
> 4. Converter writes ambiguous data in Exif.Photo.LensModel without. No
> vendor, no exact model, just '18.0-55.0 mm f/3.5-5.6'.
> 5. Feeding vague data to lensfun gives no good results.
> 6. Native DNG by Pentax use non-standard vendor specific Exif.Pentax*
> namespace.
> 7. Focus distance information is also vendor specific.
> 
> If not mistaken problem should be fixed on very root... which is
> libexiv2. But it's just MHO.

I didn't check it, but that sounds like the right direction. I guess it
could be confirmed by dumping the metadata using the libexiv2 command
line tool (exiv2) and comparing the output to what exiftool gives.

cheers,
Simon
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Timur Irikovich Davletshin
On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich
> Davletshin:
> > Hello everybody!
> > 
> > Just decided to play with DNG converter and discovered problem
> > related
> > to lens data interpretation by DT (2.4.2).
> > 
> > 1. NEF file loaded by DT applies correct lens parameters.
> > Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm f/3.5-5.6G
> > VR II
> > 
> > 2. DNG file cannot apply it because wrong EXIF information is used
> > (short lens name vs. full).
> > Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > 
> > 3. Focus information also is lost in DNG.
> 
> That's why we tell everyone to never convert to DNG.
> 
> Tobias
> 
> [...]

So, after little digging I found following (correct me if I'm wrong):

1. DT relies only on libexiv2 in extraction of EXIF metadata.
2. exiv2 fails to extract vendor specific information from DNG file
(converted via Adobe DNG Converter) when compared with exiftool. But
original NEF data is there.
3. As last resort for lens detection DT relies on Exif.Photo.LensModel,
which is just ASCII string encoded by converter.
4. Converter writes ambiguous data in Exif.Photo.LensModel without. No
vendor, no exact model, just '18.0-55.0 mm f/3.5-5.6'.
5. Feeding vague data to lensfun gives no good results.
6. Native DNG by Pentax use non-standard vendor specific Exif.Pentax*
namespace.
7. Focus distance information is also vendor specific.

If not mistaken problem should be fixed on very root... which is
libexiv2. But it's just MHO.
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



[darktable-dev] Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread The Ritz

A bug in DTs metadata reader is not a good argument for your cause. ;)

On April 4, 2018 13:36:36 Tobias Ellinghaus  wrote:


Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich Davletshin:
> Hello everybody!
>
> Just decided to play with DNG converter and discovered problem related
> to lens data interpretation by DT (2.4.2).
>
> 1. NEF file loaded by DT applies correct lens parameters.
>Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm f/3.5-5.6G
> VR II
>
> 2. DNG file cannot apply it because wrong EXIF information is used
> (short lens name vs. full).
>Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
>
> 3. Focus information also is lost in DNG.

That's why we tell everyone to never convert to DNG.

Tobias

[...]




___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Timur Irikovich Davletshin
On Wed, 2018-04-04 at 16:09 +0200, sturmflut wrote:
> Hello Timur,
> 
> On 04.04.2018 13:15, Timur Irikovich Davletshin wrote:
> 
> > Simple investigation with exiftool shows that no lens information
> > is
> > lost in DNG.
> 
> I guess if the data is there and exiftool sees the same values in
> both
> files, but different things happen later on, that would point in the
> direction of exiv2/liblensfun?
> 
> cheers,
> Simon
> _
> __
> darktable developer mailing list
> to unsubscribe send a mailCanon Model ID to darktable-
> dev+unsubscr...@lists.darktable.org
> 

Probably but as for me (mere DT user) it looks like in case of DNG
wrong EXIF lines are used (both for Canon and Nikon).

E.g. 'Lens ID' is used in case of NEF/CR2 and 'Lens Spec' in case of
DNG. Lensfun is not flexible enough to find match in case of Nikon
lens. Notice how information changes (NEF → DNG) in image information
(file attached).
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Timur Irikovich Davletshin
On Wed, 2018-04-04 at 16:09 +0200, sturmflut wrote:
> Hello Timur,
> 
> On 04.04.2018 13:15, Timur Irikovich Davletshin wrote:
> 
> > Simple investigation with exiftool shows that no lens information
> > is
> > lost in DNG.
> 
> I guess if the data is there and exiftool sees the same values in
> both
> files, but different things happen later on, that would point in the
> direction of exiv2/liblensfun?
> 
> cheers,
> Simon
> _
> __
> darktable developer mailing list
> to unsubscribe send a mailCanon Model ID to darktable-
> dev+unsubscr...@lists.darktable.org
> 

Probably but as for me (mere DT user) it looks like in case of DNG
wrong EXIF lines are used (both for Canon and Nikon).

E.g. 'Lens ID' is used in case of NEF/CR2 and 'Lens Spec' in case of
DNG. Lensfun is not flexible enough to find match in case of Nikon
lens. Notice how information changes (NEF → DNG) in image information
(file attached).
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Tobias Ellinghaus
Am Mittwoch, 4. April 2018, 15:37:29 CEST schrieb Timur Irikovich Davletshin:

[...]

> This is why I wrote 'native or converted' in my previous letter. Dear
> Patrick, I'm not here for the purpose of your religious war against DNG
> which is *not* standard. I think this is just an obvious bug which can
> be easily fixed.

If it's a bug easily fixed we will most likely do that. But at least I am too 
busy at the moment to dig into it and find that bug.

> Regards,
> 
> Timur.

Tobias

signature.asc
Description: This is a digitally signed message part.


Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Bernhard



Tobias Ellinghaus schrieb am 04.04.2018 um 13:36:

Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich Davletshin:

Hello everybody!

Just decided to play with DNG converter and discovered problem related
to lens data interpretation by DT (2.4.2).

1. NEF file loaded by DT applies correct lens parameters.
Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm f/3.5-5.6G
VR II

2. DNG file cannot apply it because wrong EXIF information is used
(short lens name vs. full).
Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6

3. Focus information also is lost in DNG.

That's why we tell everyone to never convert to DNG.

Tobias

[...]

That's the short answer.

The long answer could look like this:
- DNG is a RAW file format like NEF or CR2 or ORF or ...
- this is true only if the file comes out-of-camera this way.

The devs try to support as many RAW formats as they can - if 
user-provided samples are available.
Many of the proprietary RAW-Formats come with different flavours based 
on Camera Model, Camera Settings etc.


So testing this is a tremendous effort which has to be done on every 
(minor) release of darktable.


Adding a simple RAW=>DNG converter would double this effort.
But: adding more RAW=>DNG converters would multiply this effort since 
every proprietary flavour of any proprietary format would have to be 
tested against every (proprietary or not) RAW=>DNG Converter.


So I totally understand the devs to care about original RAWs and not on 
any variant of those.


[Perhaps a prominent message about this would be a good thing in the 
manual/list of supported cameras?]


--

regards
Bernhard

https://www.bilddateien.de

___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread sturmflut
Hello Timur,

On 04.04.2018 13:15, Timur Irikovich Davletshin wrote:

> Simple investigation with exiftool shows that no lens information is
> lost in DNG.

I guess if the data is there and exiftool sees the same values in both
files, but different things happen later on, that would point in the
direction of exiv2/liblensfun?

cheers,
Simon
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Timur Irikovich Davletshin
On Wed, 2018-04-04 at 09:49 -0400, Patrick Shanahan wrote:
> * Timur Irikovich Davletshin  [04-04-18
> 09:40]:
> > On Wed, 2018-04-04 at 09:27 -0400, Patrick Shanahan wrote:
> > > * Timur Irikovich Davletshin  [04-04-
> > > 18
> > > 08:46]:
> > > > On Wed, 2018-04-04 at 08:21 -0400, Patrick Shanahan wrote:
> > > > > * Timur Irikovich Davletshin 
> > > > > [04-04-
> > > > > 18
> > > > > 08:01]:
> > > > > > On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> > > > > > > Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur
> > > > > > > Irikovich
> > > > > > > Davletshin:
> > > > > > > > Hello everybody!
> > > > > > > > 
> > > > > > > > Just decided to play with DNG converter and discovered
> > > > > > > > problem
> > > > > > > > related
> > > > > > > > to lens data interpretation by DT (2.4.2).
> > > > > > > > 
> > > > > > > > 1. NEF file loaded by DT applies correct lens
> > > > > > > > parameters.
> > > > > > > > Lens info shown by DT: Nikon AF-S DX Nikkor 18-
> > > > > > > > 55mm
> > > > > > > > f/3.5-5.6G
> > > > > > > > VR II
> > > > > > > > 
> > > > > > > > 2. DNG file cannot apply it because wrong EXIF
> > > > > > > > information
> > > > > > > > is
> > > > > > > > used
> > > > > > > > (short lens name vs. full).
> > > > > > > > Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > > > > > > > 
> > > > > > > > 3. Focus information also is lost in DNG.
> > > > > > > 
> > > > > > > That's why we tell everyone to never convert to DNG.
> > > > > > > 
> > > > > > > Tobias
> > > > > > > 
> > > > > > > [...]
> > > > > > 
> > > > > > I believe problem is Nikon/DT related not DNG. Canon files
> > > > > > I
> > > > > > tried
> > > > > > work
> > > > > > as expected. Another example Nikon D1X files converted to
> > > > > > DNG
> > > > > > are
> > > > > > useless because there is no way turn pixel scale module on
> > > > > > manually.
> > > > > 
> > > > > simple, don't convert native files to dng.  the dng format is
> > > > > not
> > > > > provided
> > > > > by Nikon and cannot know the proprietary secrets that Nikon
> > > > > uses
> > > > > to
> > > > > generate its raw files.  dng is *not* a standard.  dng makes
> > > > > changes
> > > > > the
> > > > > the original (raw).  why convert your raw twice?
> > > > > 
> > > > 
> > > > DNG made from Canon, Olympus works, Nikon's doesn't...
> > > > meanwhile
> > > > EXIF
> > > > data is there. Looks like it's not a problem of DNG itself.
> > > > 
> > > > Whether we like it or not but DNG files (native or converted)
> > > > are
> > > > quite
> > > > common. Especially when DT documentation declares some sort of
> > > > DNG
> > > > support in very first line of https://www.darktable.org/resourc
> > > > es/c
> > > > amer
> > > > a-support/
> > > 
> > > do you not really read what you cite?
> > >   
> > >   Cameras that produce DNG files should be supported even if they
> > > are
> > > not
> > >   on the list but samples are still appreciated.
> > >   
> > > says nothing about supporting dng which is not native out-of-the-
> > > camera.
> > >   
> > 
> > This is why I wrote 'native or converted' in my previous letter.
> > Dear
> > Patrick, I'm not here for the purpose of your religious war against
> > DNG
> > which is *not* standard. I think this is just an obvious bug which
> > can
> > be easily fixed.
> 
> and I have serious doubts the dev's will be concerned as they have
> repeatedly stated that altering an original raw is WRONG.  why would
> they
> commit work to support it?
> 
> I am not for or against dng, don't use it, don't care, don't
> understand
> why one would endure the extra effort and time required.  your
> perception,
> not mine.  and would only be considered a bug if that feature was to
> be
> supported, otherwise it would be a feature request.

I appreciate your comments.
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Patrick Shanahan
* Timur Irikovich Davletshin  [04-04-18 09:40]:
> On Wed, 2018-04-04 at 09:27 -0400, Patrick Shanahan wrote:
> > * Timur Irikovich Davletshin  [04-04-18
> > 08:46]:
> > > On Wed, 2018-04-04 at 08:21 -0400, Patrick Shanahan wrote:
> > > > * Timur Irikovich Davletshin  [04-04-
> > > > 18
> > > > 08:01]:
> > > > > On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> > > > > > Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur
> > > > > > Irikovich
> > > > > > Davletshin:
> > > > > > > Hello everybody!
> > > > > > > 
> > > > > > > Just decided to play with DNG converter and discovered
> > > > > > > problem
> > > > > > > related
> > > > > > > to lens data interpretation by DT (2.4.2).
> > > > > > > 
> > > > > > > 1. NEF file loaded by DT applies correct lens parameters.
> > > > > > >   Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm
> > > > > > > f/3.5-5.6G
> > > > > > > VR II
> > > > > > > 
> > > > > > > 2. DNG file cannot apply it because wrong EXIF information
> > > > > > > is
> > > > > > > used
> > > > > > > (short lens name vs. full).
> > > > > > >   Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > > > > > > 
> > > > > > > 3. Focus information also is lost in DNG.
> > > > > > 
> > > > > > That's why we tell everyone to never convert to DNG.
> > > > > > 
> > > > > > Tobias
> > > > > > 
> > > > > > [...]
> > > > > 
> > > > > I believe problem is Nikon/DT related not DNG. Canon files I
> > > > > tried
> > > > > work
> > > > > as expected. Another example Nikon D1X files converted to DNG
> > > > > are
> > > > > useless because there is no way turn pixel scale module on
> > > > > manually.
> > > > 
> > > > simple, don't convert native files to dng.  the dng format is not
> > > > provided
> > > > by Nikon and cannot know the proprietary secrets that Nikon uses
> > > > to
> > > > generate its raw files.  dng is *not* a standard.  dng makes
> > > > changes
> > > > the
> > > > the original (raw).  why convert your raw twice?
> > > > 
> > > 
> > > DNG made from Canon, Olympus works, Nikon's doesn't... meanwhile
> > > EXIF
> > > data is there. Looks like it's not a problem of DNG itself.
> > > 
> > > Whether we like it or not but DNG files (native or converted) are
> > > quite
> > > common. Especially when DT documentation declares some sort of DNG
> > > support in very first line of https://www.darktable.org/resources/c
> > > amer
> > > a-support/
> > 
> > do you not really read what you cite?
> >   
> >   Cameras that produce DNG files should be supported even if they are
> > not
> >   on the list but samples are still appreciated.
> >   
> > says nothing about supporting dng which is not native out-of-the-
> > camera.
> >   
> 
> This is why I wrote 'native or converted' in my previous letter. Dear
> Patrick, I'm not here for the purpose of your religious war against DNG
> which is *not* standard. I think this is just an obvious bug which can
> be easily fixed.

and I have serious doubts the dev's will be concerned as they have
repeatedly stated that altering an original raw is WRONG.  why would they
commit work to support it?

I am not for or against dng, don't use it, don't care, don't understand
why one would endure the extra effort and time required.  your perception,
not mine.  and would only be considered a bug if that feature was to be
supported, otherwise it would be a feature request.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Registered Linux User #207535@ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Timur Irikovich Davletshin
On Wed, 2018-04-04 at 09:27 -0400, Patrick Shanahan wrote:
> * Timur Irikovich Davletshin  [04-04-18
> 08:46]:
> > On Wed, 2018-04-04 at 08:21 -0400, Patrick Shanahan wrote:
> > > * Timur Irikovich Davletshin  [04-04-
> > > 18
> > > 08:01]:
> > > > On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> > > > > Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur
> > > > > Irikovich
> > > > > Davletshin:
> > > > > > Hello everybody!
> > > > > > 
> > > > > > Just decided to play with DNG converter and discovered
> > > > > > problem
> > > > > > related
> > > > > > to lens data interpretation by DT (2.4.2).
> > > > > > 
> > > > > > 1. NEF file loaded by DT applies correct lens parameters.
> > > > > > Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm
> > > > > > f/3.5-5.6G
> > > > > > VR II
> > > > > > 
> > > > > > 2. DNG file cannot apply it because wrong EXIF information
> > > > > > is
> > > > > > used
> > > > > > (short lens name vs. full).
> > > > > > Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > > > > > 
> > > > > > 3. Focus information also is lost in DNG.
> > > > > 
> > > > > That's why we tell everyone to never convert to DNG.
> > > > > 
> > > > > Tobias
> > > > > 
> > > > > [...]
> > > > 
> > > > I believe problem is Nikon/DT related not DNG. Canon files I
> > > > tried
> > > > work
> > > > as expected. Another example Nikon D1X files converted to DNG
> > > > are
> > > > useless because there is no way turn pixel scale module on
> > > > manually.
> > > 
> > > simple, don't convert native files to dng.  the dng format is not
> > > provided
> > > by Nikon and cannot know the proprietary secrets that Nikon uses
> > > to
> > > generate its raw files.  dng is *not* a standard.  dng makes
> > > changes
> > > the
> > > the original (raw).  why convert your raw twice?
> > > 
> > 
> > DNG made from Canon, Olympus works, Nikon's doesn't... meanwhile
> > EXIF
> > data is there. Looks like it's not a problem of DNG itself.
> > 
> > Whether we like it or not but DNG files (native or converted) are
> > quite
> > common. Especially when DT documentation declares some sort of DNG
> > support in very first line of https://www.darktable.org/resources/c
> > amer
> > a-support/
> 
> do you not really read what you cite?
>   
>   Cameras that produce DNG files should be supported even if they are
> not
>   on the list but samples are still appreciated.
>   
> says nothing about supporting dng which is not native out-of-the-
> camera.
>   

This is why I wrote 'native or converted' in my previous letter. Dear
Patrick, I'm not here for the purpose of your religious war against DNG
which is *not* standard. I think this is just an obvious bug which can
be easily fixed.

Regards,

Timur.
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Patrick Shanahan
* Timur Irikovich Davletshin  [04-04-18 09:08]:
> On Wed, 2018-04-04 at 08:21 -0400, Patrick Shanahan wrote:
> > * Timur Irikovich Davletshin  [04-04-18
> > 08:01]:
> > > On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> > > > Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich
> > > > Davletshin:
> > > > > Hello everybody!
> > > > > 
> > > > > Just decided to play with DNG converter and discovered problem
> > > > > related
> > > > > to lens data interpretation by DT (2.4.2).
> > > > > 
> > > > > 1. NEF file loaded by DT applies correct lens parameters.
> > > > >   Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm
> > > > > f/3.5-5.6G
> > > > > VR II
> > > > > 
> > > > > 2. DNG file cannot apply it because wrong EXIF information is
> > > > > used
> > > > > (short lens name vs. full).
> > > > >   Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > > > > 
> > > > > 3. Focus information also is lost in DNG.
> > > > 
> > > > That's why we tell everyone to never convert to DNG.
> > > > 
> > > > Tobias
> > > > 
> > > > [...]
> > > 
> > > I believe problem is Nikon/DT related not DNG. Canon files I tried
> > > work
> > > as expected. Another example Nikon D1X files converted to DNG are
> > > useless because there is no way turn pixel scale module on
> > > manually.
> > 
> > simple, don't convert native files to dng.  the dng format is not
> > provided
> > by Nikon and cannot know the proprietary secrets that Nikon uses to
> > generate its raw files.  dng is *not* a standard.  dng makes changes
> > the
> > the original (raw).  why convert your raw twice?
> > 
> 
> Same files tested in Rawtherapee work as expected. Lens correction is
> applied, focus distance is displayed, D1X files are properly scaled.

rawtherapee is not dt.  ps may also, but I do not know.  means nothing. 
don't convert to dng, dt then works fine.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Registered Linux User #207535@ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Patrick Shanahan
* Timur Irikovich Davletshin  [04-04-18 08:46]:
> On Wed, 2018-04-04 at 08:21 -0400, Patrick Shanahan wrote:
> > * Timur Irikovich Davletshin  [04-04-18
> > 08:01]:
> > > On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> > > > Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich
> > > > Davletshin:
> > > > > Hello everybody!
> > > > > 
> > > > > Just decided to play with DNG converter and discovered problem
> > > > > related
> > > > > to lens data interpretation by DT (2.4.2).
> > > > > 
> > > > > 1. NEF file loaded by DT applies correct lens parameters.
> > > > >   Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm
> > > > > f/3.5-5.6G
> > > > > VR II
> > > > > 
> > > > > 2. DNG file cannot apply it because wrong EXIF information is
> > > > > used
> > > > > (short lens name vs. full).
> > > > >   Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > > > > 
> > > > > 3. Focus information also is lost in DNG.
> > > > 
> > > > That's why we tell everyone to never convert to DNG.
> > > > 
> > > > Tobias
> > > > 
> > > > [...]
> > > 
> > > I believe problem is Nikon/DT related not DNG. Canon files I tried
> > > work
> > > as expected. Another example Nikon D1X files converted to DNG are
> > > useless because there is no way turn pixel scale module on
> > > manually.
> > 
> > simple, don't convert native files to dng.  the dng format is not
> > provided
> > by Nikon and cannot know the proprietary secrets that Nikon uses to
> > generate its raw files.  dng is *not* a standard.  dng makes changes
> > the
> > the original (raw).  why convert your raw twice?
> > 
> 
> DNG made from Canon, Olympus works, Nikon's doesn't... meanwhile EXIF
> data is there. Looks like it's not a problem of DNG itself.
> 
> Whether we like it or not but DNG files (native or converted) are quite
> common. Especially when DT documentation declares some sort of DNG
> support in very first line of https://www.darktable.org/resources/camer
> a-support/

do you not really read what you cite?
  
  Cameras that produce DNG files should be supported even if they are not
  on the list but samples are still appreciated.
  
says nothing about supporting dng which is not native out-of-the-camera.
  
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Registered Linux User #207535@ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Timur Irikovich Davletshin
On Wed, 2018-04-04 at 08:21 -0400, Patrick Shanahan wrote:
> * Timur Irikovich Davletshin  [04-04-18
> 08:01]:
> > On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> > > Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich
> > > Davletshin:
> > > > Hello everybody!
> > > > 
> > > > Just decided to play with DNG converter and discovered problem
> > > > related
> > > > to lens data interpretation by DT (2.4.2).
> > > > 
> > > > 1. NEF file loaded by DT applies correct lens parameters.
> > > > Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm
> > > > f/3.5-5.6G
> > > > VR II
> > > > 
> > > > 2. DNG file cannot apply it because wrong EXIF information is
> > > > used
> > > > (short lens name vs. full).
> > > > Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > > > 
> > > > 3. Focus information also is lost in DNG.
> > > 
> > > That's why we tell everyone to never convert to DNG.
> > > 
> > > Tobias
> > > 
> > > [...]
> > 
> > I believe problem is Nikon/DT related not DNG. Canon files I tried
> > work
> > as expected. Another example Nikon D1X files converted to DNG are
> > useless because there is no way turn pixel scale module on
> > manually.
> 
> simple, don't convert native files to dng.  the dng format is not
> provided
> by Nikon and cannot know the proprietary secrets that Nikon uses to
> generate its raw files.  dng is *not* a standard.  dng makes changes
> the
> the original (raw).  why convert your raw twice?
> 

Same files tested in Rawtherapee work as expected. Lens correction is
applied, focus distance is displayed, D1X files are properly scaled.
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Timur Irikovich Davletshin
On Wed, 2018-04-04 at 08:21 -0400, Patrick Shanahan wrote:
> * Timur Irikovich Davletshin  [04-04-18
> 08:01]:
> > On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> > > Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich
> > > Davletshin:
> > > > Hello everybody!
> > > > 
> > > > Just decided to play with DNG converter and discovered problem
> > > > related
> > > > to lens data interpretation by DT (2.4.2).
> > > > 
> > > > 1. NEF file loaded by DT applies correct lens parameters.
> > > > Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm
> > > > f/3.5-5.6G
> > > > VR II
> > > > 
> > > > 2. DNG file cannot apply it because wrong EXIF information is
> > > > used
> > > > (short lens name vs. full).
> > > > Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > > > 
> > > > 3. Focus information also is lost in DNG.
> > > 
> > > That's why we tell everyone to never convert to DNG.
> > > 
> > > Tobias
> > > 
> > > [...]
> > 
> > I believe problem is Nikon/DT related not DNG. Canon files I tried
> > work
> > as expected. Another example Nikon D1X files converted to DNG are
> > useless because there is no way turn pixel scale module on
> > manually.
> 
> simple, don't convert native files to dng.  the dng format is not
> provided
> by Nikon and cannot know the proprietary secrets that Nikon uses to
> generate its raw files.  dng is *not* a standard.  dng makes changes
> the
> the original (raw).  why convert your raw twice?
> 

DNG made from Canon, Olympus works, Nikon's doesn't... meanwhile EXIF
data is there. Looks like it's not a problem of DNG itself.

Whether we like it or not but DNG files (native or converted) are quite
common. Especially when DT documentation declares some sort of DNG
support in very first line of https://www.darktable.org/resources/camer
a-support/
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Patrick Shanahan
* Timur Irikovich Davletshin  [04-04-18 08:01]:
> On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> > Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich
> > Davletshin:
> > > Hello everybody!
> > > 
> > > Just decided to play with DNG converter and discovered problem
> > > related
> > > to lens data interpretation by DT (2.4.2).
> > > 
> > > 1. NEF file loaded by DT applies correct lens parameters.
> > >   Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm f/3.5-5.6G
> > > VR II
> > > 
> > > 2. DNG file cannot apply it because wrong EXIF information is used
> > > (short lens name vs. full).
> > >   Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > > 
> > > 3. Focus information also is lost in DNG.
> > 
> > That's why we tell everyone to never convert to DNG.
> > 
> > Tobias
> > 
> > [...]
> 
> I believe problem is Nikon/DT related not DNG. Canon files I tried work
> as expected. Another example Nikon D1X files converted to DNG are
> useless because there is no way turn pixel scale module on manually.

simple, don't convert native files to dng.  the dng format is not provided
by Nikon and cannot know the proprietary secrets that Nikon uses to
generate its raw files.  dng is *not* a standard.  dng makes changes the
the original (raw).  why convert your raw twice?

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Registered Linux User #207535@ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Timur Irikovich Davletshin
On Wed, 2018-04-04 at 13:36 +0200, Tobias Ellinghaus wrote:
> Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich
> Davletshin:
> > Hello everybody!
> > 
> > Just decided to play with DNG converter and discovered problem
> > related
> > to lens data interpretation by DT (2.4.2).
> > 
> > 1. NEF file loaded by DT applies correct lens parameters.
> > Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm f/3.5-5.6G
> > VR II
> > 
> > 2. DNG file cannot apply it because wrong EXIF information is used
> > (short lens name vs. full).
> > Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> > 
> > 3. Focus information also is lost in DNG.
> 
> That's why we tell everyone to never convert to DNG.
> 
> Tobias
> 
> [...]

I believe problem is Nikon/DT related not DNG. Canon files I tried work
as expected. Another example Nikon D1X files converted to DNG are
useless because there is no way turn pixel scale module on manually.
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] DNG vs RAW → Lens and focus info

2018-04-04 Thread Tobias Ellinghaus
Am Mittwoch, 4. April 2018, 13:15:39 CEST schrieb Timur Irikovich Davletshin:
> Hello everybody!
> 
> Just decided to play with DNG converter and discovered problem related
> to lens data interpretation by DT (2.4.2).
> 
> 1. NEF file loaded by DT applies correct lens parameters.
>   Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm f/3.5-5.6G
> VR II
> 
> 2. DNG file cannot apply it because wrong EXIF information is used
> (short lens name vs. full).
>   Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6
> 
> 3. Focus information also is lost in DNG.

That's why we tell everyone to never convert to DNG.

Tobias

[...]

signature.asc
Description: This is a digitally signed message part.