Rawelier Español

Lens profiles

The lens profiles Rawelier uses

Last updated: December 1, 2026

Rawelier corrects lens distortion and vignetting with profiles adapted from the Lensfun lens database, made by the Lensfun project and the many people who have contributed calibrations to it. Lensfun's database is licensed under CC BY-SA 3.0, and so is this adaptation. It is published here in full, exactly as the app carries it.

Download

SHA-256 of rawelier-lens-profiles.txt:
7d21af2839f8c9ac7bc9bbfae26dc6f4e0db81acb3ea7905b7ccecbdd55983e9

What is in it

Lenses1,574
Cameras1,059
Mounts52
Distortion entries6,500
Vignetting entries19,040

Origin and licence

You may copy, share and adapt this table, also commercially, as long as you credit Lensfun and its contributors, say what you changed, link the licence and share your own adaptation under the same licence.

Lensfun and its contributors do not endorse Rawelier or any use of this adaptation. The data is provided as is, without warranty of any kind. For a complete, maintained database and the library that applies it, go to Lensfun.

What was changed from Lensfun

  • The XML files were converted into the compact text format described below.
  • Only what the app uses was kept: mounts and their compatible mounts; cameras with a crop factor; and lenses with a distortion calibration (ptlens, poly3 or poly5) or a vignetting calibration (pa). Everything else was left out, for example chromatic aberration (TCA) and crop calibrations, the lens type, and lenses without those calibrations.
  • poly3 distortion is written in the ptlens form, as a = 0, b = k1, c = 0 (the same polynomial).
  • Vignetting entries of one focal length and aperture whose coefficients are the same at every distance are written once, at distance 1000.
  • Numbers are written with at most 7 significant digits. A lens without a crop factor gets 1 and one without an aspect ratio gets 1.5; an aspect ratio such as 3:2 is written as a decimal.
  • In names, tabs became spaces, runs of spaces became one, and | became / (| separates alternative names).

Record format

UTF-8 text, one record per line, fields separated by tabs. D, P and V records belong to the L record above them.

RecordFields
Mmount name, compatible mounts separated by |
Ccamera maker, models separated by |, mount, crop factor
Llens maker, models separated by |, mounts separated by |, crop factor of the calibration, aspect ratio of the calibration
Dfocal length (mm), a, b, c: Lensfun ptlens distortion
Pfocal length (mm), k1, k2: Lensfun poly5 distortion
Vfocal length (mm), aperture (f-number), distance (m), k1, k2, k3: Lensfun pa vignetting

The coefficients are Lensfun's, with Lensfun's normalisation and meaning:

  • ptlens: Rd = a Ru⁴ + b Ru³ + c Ru² + (1 − a − b − c) Ru, with R = 1 at half the shorter side of the calibration frame;
  • poly5: Rd = Ru (1 + k1 Ru² + k2 Ru⁴), same normalisation;
  • pa: Cd = Cs (1 + k1 r² + k2 r⁴ + k3 r⁶), with r = 1 at the corner of the calibration frame.

Example: a lens from the file, with the first of its distortion and vignetting entries.

L	Sony	E 16mm f/2.8	Sony E	1.534	1.5
D	16	0.01701	-0.02563	-0.0052
V	16	2.8	0.25	-1.8891	1.7993	-0.7326

If your lens is missing

The profiles come from calibrations that volunteers contribute to Lensfun. If your lens is not there, you can contribute a calibration to Lensfun, which helps every program that uses the database. You can also tell us which lens it is at info@rawelier.com. On Sony cameras, Rawelier can use the correction data the camera wrote in the RAW file when there is no profile.