Well, with exiftool, I get :
Lens Type                       : Canon EF 75-300mm f/4-5.6 IS USM or Sigma
Lens
...
...
Lens Info                       : 18-300mm f/0
Lens Model                      : 18-300mm
Lens Serial Number              : 0000000000
Lens                            : 18.0 - 300.0 mm
Lens ID                         : Sigma 18-300mm f/3.5-6.3 DC Macro OS HS
Lens                            : 18.0 - 300.0 mm (35 mm equivalent: 28.0 -
466.3 mm)

which seems to be correct...

with exiv2 :
Exif.CanonCs.LensType                        Short       1  Canon EF
75-300mm f/4-5.6 IS USM
Exif.CanonCs.Lens                            Short       3  18.0 - 300.0 mm
Exif.Canon.LensModel                         Ascii      74  18-300mm
Exif.Photo.LensSpecification                 Rational    4  18/1 300/1 0/1
0/1
Exif.Photo.LensModel                         Ascii       9  18-300mm
Exif.Photo.LensSerialNumber                  Ascii      11  0000000000

which is confusing because the Type is only on the Canon, not "or Sigma"
but other lens data are related to the Sigma.

In darktable, it is wrong also because it is the  LensType which is
reported.

My version of darktable is the latest git/trunk version

Jean-Luc


2017-12-05 20:40 GMT+01:00 Marc Mascré <li...@mascre.fr>:

> I don't know.
>
> To confirm that the problem come from the file and not my system, if you
> whant, you can download the file here :
> http://documents.mascre.fr/IMG_4575.CR2
> It could be take some time, it is self hosted.
>
>
>
> Le 05/12/2017 à 08:49, Jean-Luc Coulon (f5ibh) a écrit :
>
> It seems that some informations are from the right lens and other for the
> wrong one.
> Probably these informations ARE in the file.
> Maybe Sigma is trying to fool the Canon body to get some optical
> corrections from it?
>
> 2017-12-04 22:43 GMT+01:00 Marc Mascré <li...@mascre.fr>:
>
>> That is completely crazy
>>
>> # exiv2 -pt IMG_4575.CR2 | grep Lens
>> Exif.CanonCs.LensType                        Short       1  Canon EF
>> 75-300mm f/4-5.6 IS USM
>> Exif.CanonCs.Lens                            Short       3  18.0 - 300.0
>> mm
>> Exif.Canon.LensModel                         Ascii      74  18-300mm
>> Exif.Photo.LensSpecification                 Rational    4  18/1 300/1
>> 0/1 0/1
>> Exif.Photo.LensModel                         Ascii       9  18-300mm
>> Exif.Photo.LensSerialNumber                  Ascii      11  0000000000
>>
>> exiftool version here is 10.45 I can try to update it but I became to ask
>> myself if the wrong lens type is not write in the .CR2 by the camera.
>>
>> Marc
>>
>>
>>
>> Le 04/12/2017 à 16:36, Jean-Luc Coulon (f5ibh) a écrit :
>>
>> Can you try:
>>
>> exiv2 -pt IMG_xxxx.cr2 | grep Lens
>>
>> I got that on an other lens:
>>
>> Exif.CanonCs.LensType                        Short       1  Canon EF
>> 24-70mm f/4L IS USM
>> Exif.CanonCs.Lens                            Short       3  24.0 - 70.0
>> mm
>> Exif.Canon.LensModel                         Ascii      70  EF24-70mm
>> f/4L IS USM
>>
>> Maybe you can try also to update your exiftool-version (I've 10.67 here)
>>
>> Jean-Luc
>>
>> 2017-12-04 0:29 GMT+01:00 Marc Mascré <li...@mascre.fr>:
>>
>>> Hi
>>>
>>> It seem to be exactly this model for my lens. But when I use exiftool on
>>> a .CR2 file from my camera, it detect my lens as a canon EF 75-300 too.
>>> (see file attached)
>>>
>>> How can I find the right exit informations ?
>>>
>>> Marc
>>>
>>>
>>>
>>> Le 03/12/2017 à 18:24, Jean-Luc Coulon (f5ibh) a écrit :
>>>
>>> Hi,
>>> What is the exact model of your lens (from the exif)?
>>> Is it: "Sigma DT 18-300mm f/3.5-6.3 DC Macro" ?
>>>
>>> If yes, it is not in version_1 of lensfun database but it is in
>>> version_2.
>>>
>>> If you upgrade your database with the command "lensfun-update", it will
>>> create the following in your home directory: .local/share/lensfun/updates/v
>>> ersion_1/
>>> And then the lens will be in the file: slr-sigma.xml
>>>
>>> Jean-Luc
>>>
>>>
>>> 2017-12-03 18:07 GMT+01:00 Marc Mascré <li...@mascre.fr>:
>>>
>>>> Hello
>>>>
>>>> I have a lens, the sigma 18-300 f3.5-6.3
>>>>
>>>> The problem is, it is detect by darktable as a canon EF 75-300
>>>>
>>>> I see the link for raw.pixls.us but it seem to be only for camera, not
>>>> for lens.
>>>>
>>>>
>>>> How I can tell to darktable that my lens is a sigma 18-300 and not a
>>>> canon 75-300 ?
>>>>
>>>>
>>>> Thanks
>>>>
>>>>
>>>> Marc
>>>>
>>>> ___________________________________________________________________________
>>>> darktable developer mailing list to unsubscribe send a mail to
>>>> darktable-dev+unsubscr...@lists.darktable.org
>>>>
>>>
>>>
>>> ___________________________________________________________________________
>>> darktable developer mailing list to unsubscribe send a mail to
>>> darktable-dev+unsubscr...@lists.darktable.org
>>>
>>>
>>>
>>
>> ___________________________________________________________________________
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>>
>>
>>
>> ___________________________________________________________________________
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>>
>
>
> ___________________________________________________________________________
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>
>
>
> ___________________________________________________________________________
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>

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

Reply via email to