Hello everybody, I'm new here. Thanks first for the great efforts made so far to create this tool and the profiles!
I'm writing since I have a bit of an issue I can't figure out myself. In the application Affinity I'm trying to use the SLR Tamron SP 28-75 profile together with a Canon EF Metabones adapter on a Sony A7II with E-Mount. To achive that I have been to create/change the database entries, but with little to no success. My latest try was the following database entry, though I'm not really sure which fields from the metadata of the file the mount and maker parameter adress, why I entered several ones: PS: On the bottom you find what exiftool reports on the files metadata. Thanks for the help and kind regards Magnus <!DOCTYPE lensdatabase SYSTEM "lensfun-database.dtd"> <lensdatabase version="2"> <mount> <name>Sony E</name> <compat>Sony Alpha</compat> <compat>A-mount</compat> <compat>Canon EF</compat> <compat>Generic</compat> </mount> <camera> <maker>Sony</maker> <model>ILCE-7M2</model> <model lang="en">Alpha 7 II</model> <mount>Sony E</mount> <cropfactor>1</cropfactor> </camera> <lens> <maker>Sony</maker> <model>Tamron SP AF 28-75mm f/2.8 XR Di LD Aspherical [IF] Macro</model> <mount>Canon EF</mount> <mount>Sony Alpha</mount> <mount>A-mount</mount> <mount>Sony E</mount> <cropfactor>1</cropfactor> <calibration> <distortion model="ptlens" focal="28" a="0.01469" b="-0.034774" c="0"/> <distortion model="ptlens" focal="30" a="0.012441" b="-0.026997" c="0"/> <distortion model="ptlens" focal="35" a="0.009958" b="-0.018577" c="0"/> <distortion model="ptlens" focal="50" a="0" b="0.005421" c="0"/> <distortion model="ptlens" focal="60" a="0" b="0.00752" c="0"/> <distortion model="ptlens" focal="75" a="0" b="0.007321" c="0"/> <!-- Taken with DSLR-A850 --> <tca model="poly3" focal="28" vr="1.0001749" vb="1.0001110"/> <tca model="poly3" focal="35" vr="1.0001413" vb="1.0000781"/> <tca model="poly3" focal="50" vr="1.0000620" vb="1.0000023"/> <tca model="poly3" focal="60" vr="1.0000363" vb="0.9998723"/> <tca model="poly3" focal="75" vr="1.0000058" vb="0.9996788"/> <vignetting model="pa" focal="28" aperture="2.8" distance="10" k1="-0.1750" k2="-1.1096" k3="0.5612"/> <vignetting model="pa" focal="28" aperture="2.8" distance="1000" k1="-0.1750" k2="-1.1096" k3="0.5612"/> <vignetting model="pa" focal="28" aperture="3.2" distance="10" k1="-0.2582" k2="-0.6435" k3="0.2097"/> <vignetting model="pa" focal="28" aperture="3.2" distance="1000" k1="-0.2582" k2="-0.6435" k3="0.2097"/> <vignetting model="pa" focal="28" aperture="4" distance="10" k1="-0.5151" k2="0.3406" k3="-0.4192"/> <vignetting model="pa" focal="28" aperture="4" distance="1000" k1="-0.5151" k2="0.3406" k3="-0.4192"/> <vignetting model="pa" focal="28" aperture="5.6" distance="10" k1="-0.5310" k2="0.2983" k3="-0.2071"/> <vignetting model="pa" focal="28" aperture="5.6" distance="1000" k1="-0.5310" k2="0.2983" k3="-0.2071"/> <vignetting model="pa" focal="28" aperture="8" distance="10" k1="-0.4600" k2="0.0248" k3="0.0435"/> <vignetting model="pa" focal="28" aperture="8" distance="1000" k1="-0.4600" k2="0.0248" k3="0.0435"/> <vignetting model="pa" focal="28" aperture="32" distance="10" k1="-0.4819" k2="0.0623" k3="0.0236"/> <vignetting model="pa" focal="28" aperture="32" distance="1000" k1="-0.4819" k2="0.0623" k3="0.0236"/> <vignetting model="pa" focal="35" aperture="2.8" distance="10" k1="-0.2910" k2="-0.3502" k3="0.0087"/> <vignetting model="pa" focal="35" aperture="2.8" distance="1000" k1="-0.2910" k2="-0.3502" k3="0.0087"/> <vignetting model="pa" focal="35" aperture="3.2" distance="10" k1="-0.3791" k2="0.0556" k3="-0.2823"/> <vignetting model="pa" focal="35" aperture="3.2" distance="1000" k1="-0.3791" k2="0.0556" k3="-0.2823"/> <vignetting model="pa" focal="35" aperture="4" distance="10" k1="-0.5972" k2="0.8177" k3="-0.7101"/> <vignetting model="pa" focal="35" aperture="4" distance="1000" k1="-0.5972" k2="0.8177" k3="-0.7101"/> <vignetting model="pa" focal="35" aperture="5.6" distance="10" k1="-0.4577" k2="0.2594" k3="-0.1707"/> <vignetting model="pa" focal="35" aperture="5.6" distance="1000" k1="-0.4577" k2="0.2594" k3="-0.1707"/> <vignetting model="pa" focal="35" aperture="8" distance="10" k1="-0.4127" k2="0.0745" k3="0.0024"/> <vignetting model="pa" focal="35" aperture="8" distance="1000" k1="-0.4127" k2="0.0745" k3="0.0024"/> <vignetting model="pa" focal="35" aperture="11" distance="10" k1="-0.3990" k2="0.0367" k3="0.0277"/> <vignetting model="pa" focal="35" aperture="11" distance="1000" k1="-0.3990" k2="0.0367" k3="0.0277"/> <vignetting model="pa" focal="35" aperture="32" distance="10" k1="-0.4079" k2="0.0337" k3="0.0382"/> <vignetting model="pa" focal="35" aperture="32" distance="1000" k1="-0.4079" k2="0.0337" k3="0.0382"/> <vignetting model="pa" focal="50" aperture="2.8" distance="10" k1="-0.2909" k2="-0.1257" k3="-0.1729"/> <vignetting model="pa" focal="50" aperture="2.8" distance="1000" k1="-0.2909" k2="-0.1257" k3="-0.1729"/> <vignetting model="pa" focal="50" aperture="3.2" distance="10" k1="-0.3277" k2="0.2514" k3="-0.4759"/> <vignetting model="pa" focal="50" aperture="3.2" distance="1000" k1="-0.3277" k2="0.2514" k3="-0.4759"/> <vignetting model="pa" focal="50" aperture="4" distance="10" k1="-0.4786" k2="0.7975" k3="-0.7507"/> <vignetting model="pa" focal="50" aperture="4" distance="1000" k1="-0.4786" k2="0.7975" k3="-0.7507"/> <vignetting model="pa" focal="50" aperture="5.6" distance="10" k1="-0.3868" k2="0.3700" k3="-0.2780"/> <vignetting model="pa" focal="50" aperture="5.6" distance="1000" k1="-0.3868" k2="0.3700" k3="-0.2780"/> <vignetting model="pa" focal="50" aperture="8" distance="10" k1="-0.3000" k2="0.0451" k3="0.0086"/> <vignetting model="pa" focal="50" aperture="8" distance="1000" k1="-0.3000" k2="0.0451" k3="0.0086"/> <vignetting model="pa" focal="50" aperture="32" distance="10" k1="-0.2973" k2="0.0140" k3="0.0341"/> <vignetting model="pa" focal="50" aperture="32" distance="1000" k1="-0.2973" k2="0.0140" k3="0.0341"/> <vignetting model="pa" focal="60" aperture="2.8" distance="10" k1="-0.2467" k2="-0.4360" k3="0.0300"/> <vignetting model="pa" focal="60" aperture="2.8" distance="1000" k1="-0.2467" k2="-0.4360" k3="0.0300"/> <vignetting model="pa" focal="60" aperture="3.2" distance="10" k1="-0.1529" k2="-0.3730" k3="-0.0971"/> <vignetting model="pa" focal="60" aperture="3.2" distance="1000" k1="-0.1529" k2="-0.3730" k3="-0.0971"/> <vignetting model="pa" focal="60" aperture="4" distance="10" k1="-0.3869" k2="0.6624" k3="-0.7768"/> <vignetting model="pa" focal="60" aperture="4" distance="1000" k1="-0.3869" k2="0.6624" k3="-0.7768"/> <vignetting model="pa" focal="60" aperture="5.6" distance="10" k1="-0.4535" k2="0.7712" k3="-0.6846"/> <vignetting model="pa" focal="60" aperture="5.6" distance="1000" k1="-0.4535" k2="0.7712" k3="-0.6846"/> <vignetting model="pa" focal="60" aperture="8" distance="10" k1="-0.3560" k2="0.3565" k3="-0.2710"/> <vignetting model="pa" focal="60" aperture="8" distance="1000" k1="-0.3560" k2="0.3565" k3="-0.2710"/> <vignetting model="pa" focal="60" aperture="11" distance="10" k1="-0.2665" k2="0.0241" k3="0.0181"/> <vignetting model="pa" focal="60" aperture="11" distance="1000" k1="-0.2665" k2="0.0241" k3="0.0181"/> <vignetting model="pa" focal="60" aperture="32" distance="10" k1="-0.2868" k2="0.0510" k3="0.0077"/> <vignetting model="pa" focal="60" aperture="32" distance="1000" k1="-0.2868" k2="0.0510" k3="0.0077"/> <vignetting model="pa" focal="75" aperture="2.8" distance="10" k1="-0.5500" k2="-0.0674" k3="-0.0288"/> <vignetting model="pa" focal="75" aperture="2.8" distance="1000" k1="-0.5500" k2="-0.0674" k3="-0.0288"/> <vignetting model="pa" focal="75" aperture="3.2" distance="10" k1="-0.2389" k2="-0.6182" k3="0.2415"/> <vignetting model="pa" focal="75" aperture="3.2" distance="1000" k1="-0.2389" k2="-0.6182" k3="0.2415"/> <vignetting model="pa" focal="75" aperture="4" distance="10" k1="-0.2060" k2="0.1110" k3="-0.3877"/> <vignetting model="pa" focal="75" aperture="4" distance="1000" k1="-0.2060" k2="0.1110" k3="-0.3877"/> <vignetting model="pa" focal="75" aperture="5.6" distance="10" k1="-0.3828" k2="0.6228" k3="-0.5723"/> <vignetting model="pa" focal="75" aperture="5.6" distance="1000" k1="-0.3828" k2="0.6228" k3="-0.5723"/> <vignetting model="pa" focal="75" aperture="8" distance="10" k1="-0.2942" k2="0.2247" k3="-0.1575"/> <vignetting model="pa" focal="75" aperture="8" distance="1000" k1="-0.2942" k2="0.2247" k3="-0.1575"/> <vignetting model="pa" focal="75" aperture="11" distance="10" k1="-0.2449" k2="0.0438" k3="0.0026"/> <vignetting model="pa" focal="75" aperture="11" distance="1000" k1="-0.2449" k2="0.0438" k3="0.0026"/> <vignetting model="pa" focal="75" aperture="32" distance="10" k1="-0.2548" k2="0.0397" k3="0.0140"/> <vignetting model="pa" focal="75" aperture="32" distance="1000" k1="-0.2548" k2="0.0397" k3="0.0140"/> </calibration> </lens> </lensdatabase> The following is what exiftools reports: ExifTool Version Number : 11.65 File Name : DSC07350.ARW Directory : . File Size : 47 MB File Modification Date/Time : 2019:10:01 20:48:56+02:00 File Access Date/Time : 2019:10:01 20:48:58+02:00 File Creation Date/Time : 2019:10:01 20:48:56+02:00 File Permissions : rw-rw-rw- File Type : ARW File Type Extension : arw MIME Type : image/x-sony-arw Exif Byte Order : Little-endian (Intel, II) Image Description : Orientation : Horizontal (normal) Image Width : 6048 Image Height : 4024 Bits Per Sample : 12 Compression : Uncompressed Photometric Interpretation : Color Filter Array Samples Per Pixel : 1 Planar Configuration : Chunky X Resolution : 350 Y Resolution : 350 Resolution Unit : inches CFA Repeat Pattern Dim : 2 2 CFA Pattern 2 : 0 1 1 2 Sony Raw File Type : Sony Uncompressed 14-bit RAW Sony Tone Curve : 8000 10400 12900 14100 Strip Offsets : 420864 Rows Per Strip : 4024 Strip Byte Counts : 48674304 Chromatic Aberration Correction : No correction params available Distortion Correction : No correction params available Preview Image Start : 142498 Preview Image Length : 275724 Y Cb Cr Positioning : Co-sited Exposure Time : 1/30 F Number : 2.8 ISO : 500 Sensitivity Type : Recommended Exposure Index Recommended Exposure Index : 500 Exif Version : 0230 Date/Time Original : 2019:10:01 20:48:56 Create Date : 2019:10:01 20:48:56 Components Configuration : Y, Cb, Cr, - Compressed Bits Per Pixel : 16 Brightness Value : -0.2484375 Exposure Compensation : 0 Max Aperture Value : 2.8 Metering Mode : Multi-segment Light Source : Unknown Flash : Off, Did not fire Focal Length : 28.0 mm Rating : 0 Brightness : 0 Long Exposure Noise Reduction : Off High ISO Noise Reduction : Off HDR : Off; Uncorrected image WB Shift AB GM : 0 0 Face Info Offset : 94 Sony Date Time : 2019:10:01 20:48:56 Sony Image Width : 6000 Faces Detected : 0 Face Info Length : 37 Meta Version : DC7303320222000 Creative Style : Standard Color Temperature : Auto Color Compensation Filter : 0 Scene Mode : Standard Zone Matching : ISO Setting Used Dynamic Range Optimizer : Off Image Stabilization : On Color Mode : Standard Full Image Size : 6000x4000 Preview Image Size : 1616x1080 File Format : ARW 2.3.1 Quality : RAW Flash Exposure Compensation : 0 White Balance Fine Tune : 0 White Balance : Auto Sony Model ID : ILCE-7M2 Multi Frame Noise Reduction : Off Picture Effect : Off Soft Skin Effect : Off Vignetting Correction : Auto Lateral Chromatic Aberration : Auto Distortion Correction Setting : Auto Lens Type : Canon EF 80-200mm f/4.5-5.6 or Tamron Lens + Canon EF Adapter Lens Spec : 28-75mm F2.8 Auto Portrait Framed : No Flash Action : Did not fire Electronic Front Curtain Shutter: On Focus Mode : Manual AF Area Mode Setting : Center Flexible Spot Position : 0 0 AF Point Selected : n/a AF Points Used : (none) AF Tracking : Off Focal Plane AF Points Used : (none) Multi Frame NR Effect : Normal RAW File Type : Uncompressed RAW Flash Level : Normal Release Mode : Continuous Sequence Number : 1 Anti-Blur : On (Shooting) Shot Number Since Power Up : 3 Sequence Image Number : 1 Sequence File Number : 1 Sequence Length : Continuous Camera Orientation : Horizontal (normal) Quality 2 : RAW Sony Image Height : n.a. Model Release Year : 2015 ISO Setting : Auto ISO Auto Min : 100 ISO Auto Max : 6400 Ambient Temperature : 0 C AF Area Mode : Manual Focus Position 2 : 255 Camera Temperature : 27 C Exposure Program : Manual Intelligent Auto : Off Lens Zoom Position : 0% Sony ISO : 519 Base ISO : 100 Stops Above Base ISO : 2.4 Sony Exposure Time 2 : 1/32 Sony Max Aperture Value : 2.8 Sony Image Width Max : 6024 Sony Image Height Max : 4024 Picture Effect 2 : Off Battery Temperature : 39.4 C Battery Level : 63% Lens Mount 2 : A-mount (5) Lens Type 3 : Metabones Canon EF Smart Adapter Mark IV Camera E-mount Version : 1.50 Lens E-mount Version : 1.08 Lens Firmware Version : Ver.62.000 Release Mode 3 : Continuous Self Timer : Off Flash Mode : Fill-flash HDR Setting : Off Picture Profile : Gamma Still - Standard/Neutral (PP2) WB RGB Levels : 321 256 877 Min Focal Length : 28.0 mm Max Focal Length : 75.0 mm Distortion Corr Params Number : 16 (Full-frame) Shutter : Mechanical (2892 5304 6692) Flash Status : No Flash present Shutter Count : 22584 Sony Exposure Time : 1/32 Sony F Number : 2.8 Shutter Count 2 : 22584 Sony Date Time 2 : 2019:10:01 18:48:56 Release Mode 2 : Continuous Low Internal Serial Number : fefedc0a Lens Mount : A-mount Lens Format : Full-frame Distortion Corr Params Present : No Lens Spec Features : User Comment : Flashpix Version : 0100 Color Space : sRGB Exif Image Width : 6000 Exif Image Height : 4000 Interoperability Index : R98 - DCF basic file (sRGB) Interoperability Version : 0100 File Source : Digital Camera Scene Type : Directly photographed Custom Rendered : Normal Exposure Mode : Manual Digital Zoom Ratio : 1 Focal Length In 35mm Format : 28 mm Scene Capture Type : Standard Contrast : Normal Saturation : Normal Sharpness : Normal Lens Info : 28-75mm f/2.8 Lens Model : #28 28-75/2.8 PrintIM Version : 0300 SR2 Sub IFD Offset : 47830 SR2 Sub IFD Length : 56958 SR2 Sub IFD Key : 0x44332211 Black Level : 512 512 512 512 WB RGGB Levels Auto : 1632 1024 1024 2660 WB RGGB Levels : 1632 1024 1024 2660 Color Matrix : 1406 -391 9 -42 1356 -290 22 -53 1055 WB RGB Levels Daylight : 2476 1024 1476 WB RGB Levels Cloudy : 2676 1024 1356 WB RGB Levels Tungsten : 1516 1024 2652 WB RGB Levels Flash : 2732 1024 1332 WB RGB Levels 4500K : 2228 1024 1664 WB RGB Levels Shade : 2956 1024 1220 WB RGB Levels Fluorescent : 2316 1024 2136 WB RGB Levels Fluorescent P1 : 2368 1024 1600 WB RGB Levels Fluorescent P2 : 2660 1024 1392 WB RGB Levels Fluorescent M1 : 1760 1024 2636 WB RGB Levels 8500K : 3112 1024 1156 WB RGB Levels 6000K : 2652 1024 1368 WB RGB Levels 3200K : 1696 1024 2300 WB RGB Levels 2500K : 1316 1024 3196 White Level : 15360 15360 15360 Vignetting Corr Params : 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Chromatic Aberration Corr Params: 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Distortion Corr Params : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Subfile Type : Reduced-resolution image Make : SONY Camera Model Name : ILCE-7M2 Software : ILCE-7M2 v4.01 Modify Date : 2019:10:01 20:48:56 Thumbnail Offset : 38716 Thumbnail Length : 7412 Aperture : 2.8 Blue Balance : 2.597656 CFA Pattern : [Red,Green][Green,Blue] Image Size : 6048x4024 Lens ID : Tamron SP AF 28-75mm f/2.8 XR Di LD Aspherical [IF] Macro Megapixels : 24.3 Preview Image : (Binary data 275724 bytes, use -b option to extract) Red Balance : 1.59375 Scale Factor To 35 mm Equivalent: 1.0 Shutter Speed : 1/30 Thumbnail Image : (Binary data 7412 bytes, use -b option to extract) Focus Distance 2 : inf Circle Of Confusion : 0.030 mm Field Of View : 65.5 deg Focal Length : 28.0 mm (35 mm equivalent: 28.0 mm) Hyperfocal Distance : 9.32 m Light Value : 5.6
_______________________________________________ Lensfun-users mailing list Lensfun-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lensfun-users