Jump to content

Recommended Posts

This isn't a question but a solution.  I have a couple of third party lens, Sigma and Tamron that Affinity Photo didn't automatically find in the lens database.  The lenses were in the database and I found them quite easily and was able to select them but I don't search like a computer.  

I found that the problem was that my Canon was recording the EXIF lens data a little different than the <model></model> element for the matching lens.  As a human I knew that C and Contemporary are the same but a computer program can't make that same correlation. 

If you are a little brave it is an easy fix.  

Get the latest Lensfun file from Github. 

The database folder "db" uses "mil-" for mirrorless cameras and "slr-" DSLR cameras.  Make sure you pick the correct type and brand.  For me I had to edit "slr-sigma" and "slr-tamron".

Edit the file(s) for each of your affected lenses using a plain text editor like TextEdit or Notepad.  Find the correct lens.  Pay attention to the crop factor.  You will generally find 3 crop factors per lens.  Make sure you edit the correct crop factor.  Change the name found in the <model> element to match what Affinity Photo has in the top bar.  It appears you don't have to worry about upper and lower case but if the model in the file is C but the EXIF data is Contemporary, change it to Contemporary.  On my Tamron lens I had to add Macro to the end and get rid of the F infant of the 2.8.

Copy all files into the "Lens Profiles" folder.  The easiest way to get there is to select "Open Lens Profile Folder ...".  On a Mac it will say "In Finder", on Windows it will likely say "in Explorer".  Copy or move the files you edited into this folder.

Relaunch Affinity Photo and open a raw file with one of your lenses that hasn't automatically selecting.  If you did it right and matched the EXIF data, and selected the correct crop factor, Affinity Photo will now automatically find and apply the correct lens profile.

This has already helped me in my workflow since I no longer have to remember to apply the profile.

 

 

Share this post


Link to post
Share on other sites

Welcome to the Serif Affinity forums, and thanks for the research and the instructions.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.864 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.864 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.863 Beta.

Share this post


Link to post
Share on other sites
3 hours ago, srredbeard said:

Copy all files into the "Lens Profiles" folder.  The easiest way to get there is to select "Open Lens Profile Folder ...".  On a Mac it will say "In Finder", on Windows it will likely say "in Explorer".

Maybe I am just not looking hard enough but where does one find the  "Open Lens Profile Folder ..." item?


Affinity Photo 1.8.4, Affinity Designer 1.8.4, Affinity Publisher 1.8.4;  2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 40GB RAM; macOS 10.15.6
Affinity Photo 
1.8.4.186 & Affinity Designer 1.8.4.4 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 14.0.1

Share this post


Link to post
Share on other sites
12 minutes ago, R C-R said:

Maybe I am just not looking hard enough but where does one find the  "Open Lens Profile Folder ..." item?

image.png.b12d978b1358fcad9d0a2ed099975fde.png


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.864 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.864 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.863 Beta.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.