Jump to content
You must now use your email address to sign in [click for more info] ×

Camera support


Recommended Posts

The Leica seems similar to the panasonic tz200 / zs200 and the latter is in the database as Panasonic DC-ZS200 & compatibles

Obviously it wont auto select the lens which is a bit of a pain

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

12 hours ago, roblee007 said:

What's the point then?

Well the point of my post was to advise how you could use Photo to apply the proper lens correction in advance of Serif catching up
If you want to automate the camera recognition then you need to get the relevant info. from here
https://github.com/lensfun/lensfun/blob/master/data/db/compact-panasonic.xml

Delete all the <lens> and <camera> info. not relating to the Panasonic DC-ZS200
Then change the Panasonic data to show
<maker>Leica</maker>
<model>C-Lux 1546</model>
Save the .xml file and put it in the LensProfiles folder which on mine is C:\ProgramData\Affinity\Photo\1.0\LensProfiles
Restart Photo and open a raw file

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

8 hours ago, roblee007 said:

How do I get this file to my PC from github?

Dunno, I'm not very good with Github. I just select & copy the text then paste it into a text editor, make the changes and save it as LensID.xml

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

35 minutes ago, roblee007 said:

Can I leave other Panasonic data, if I use other Panasonic cameras, LX5, LX7 etc?

I don't see why not but what will it achieve if that info is already in the Affinity database? As I understand it, profiles in the LenProfiles folder will supersede anything built in. So it could be useful if you have profiled your actual camera/lens but repeating what's already there won't help. Did you get the Leica lens working?

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

Is this correct?

I don't see any post by you On Thursday at 10:40

<!DOCTYPE lensdatabase SYSTEM "lensfun-database.dtd">
<lensdatabase version="2">

    <camera>
        <maker>Leica AG</maker>
        <model>C-Lux 1546</model>
        <!-- North American version of TZ200 -->
        <mount>Leica C-lux 1546</mount>
        <cropfactor>2.73</cropfactor>
    </camera>

    <lens>
        <maker>Leica AG</maker>
        <model>C-Lux 1546</model>
        <model lang="en">fixed lens</model>
        <model lang="de">festes Objektiv</model>
        <mount>Leica C-lux 1546</mount>
        <cropfactor>2.73</cropfactor>
        <calibration>
            <distortion model="ptlens" focal="8.8" a="0.01179" b="-0.06921" c="-0.0185"/>
            <distortion model="ptlens" focal="13.1" a="-0.00379" b="-0.00137" c="-0.02478"/>
            <distortion model="ptlens" focal="22" a="-0.01171" b="0.0359" c="-0.03572"/>
            <distortion model="ptlens" focal="27.9" a="-0.01325" b="0.03649" c="-0.02719"/>
            <distortion model="ptlens" focal="41" a="0.01372" b="-0.07051" c="0.09427"/>
            <distortion model="ptlens" focal="50.5" a="-0.01" b="0.00957" c="0.00686"/>
            <distortion model="ptlens" focal="62.9" a="-0.02798" b="0.08174" c="-0.08248"/>
            <distortion model="ptlens" focal="85.1" a="-0.03948" b="0.11214" c="-0.11692"/>
            <distortion model="ptlens" focal="119.3" a="-0.0085" b="0.00645" c="-0.00873"/>
            <distortion model="ptlens" focal="132" a="0.00886" b="-0.04613" c="0.03016"/>
            <tca model="poly3" focal="8.8" vr="1.0001106" vb="1.0002113"/>
            <tca model="poly3" focal="23.1" vr="1.0000646" vb="1.0001836"/>
            <tca model="poly3" focal="36.4" vr="0.9999912" vb="1.0001627"/>
            <tca model="poly3" focal="75.2" vr="0.9998894" vb="1.0000325"/>
            <tca model="poly3" focal="109.7" vr="0.9998627" vb="0.9998566"/>
            <tca model="poly3" focal="132" vr="0.9998288" vb="0.9999032"/>
        </calibration>
    </lens>

</lensdatabase>

Link to comment
Share on other sites

8 hours ago, roblee007 said:

I don't see any post by you On Thursday at 10:40

That "Thursday at 10:40" is a link that you can simply click on.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

  • 4 months later...
On 2/10/2021 at 8:25 AM, David in Яuislip said:

Well the point of my post was to advise how you could use Photo to apply the proper lens correction in advance of Serif catching up
If you want to automate the camera recognition then you need to get the relevant info. from here
https://github.com/lensfun/lensfun/blob/master/data/db/compact-panasonic.xml

Delete all the <lens> and <camera> info. not relating to the Panasonic DC-ZS200
Then change the Panasonic data to show
<maker>Leica</maker>
<model>C-Lux 1546</model>
Save the .xml file and put it in the LensProfiles folder which on mine is C:\ProgramData\Affinity\Photo\1.0\LensProfiles
Restart Photo and open a raw file

where would I put this file on Macbook pro?

Thank you!

Link to comment
Share on other sites

1 hour ago, roblee007 said:

where would I put this file on Macbook pro?

Possibly this tutorial will help: https://affinity.serif.com/en-us/tutorials/photo/desktop/video/330446061/

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
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

Terms of Use | 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.