OS Manuals

/usr/bin/lenstool

Image manipulation library to rectify lens defects

From lensfun 0.3.4-r3 (enterprise-packages), captured 2026-11-08 by running lenstool --help (exit 255) · terse output. permalink

Lenstool reference implementation for Lensfun version 0.3.4
Copyright (C) 2007 Andrew Zabolotny

For distribution rules and conditions of use see the file
COPYING which is part of the distribution.

Command-line options:

  -d    --distortion Apply lens distortion
  -g#   --geometry=# Convert image geometry to given (one of:
                     rectilinear,fisheye,panoramic,equirectangular,
                     orthographic, stereographic, equisolid, thoby)
  -t    --tca        Apply lens chromatic aberrations
  -v    --vignetting Apply lens vignetting
  -a    --all        Apply all possible corrections (tca, vign, dist)
  -i    --inverse    Inverse correction of the image (e.g. simulate
                     lens distortions instead of correcting them)

  -C#   --camera=#   Camera name
  -c#   --crop=#     Set camera crop factor in case the camera is not given

  -L#   --lens=#     Lens name to search for in the database
  -F#   --focal=#    Set focal length at which image has been taken
  -A#   --aperture=# Set aperture at which image has been taken
  -D#   --distance=# Set subject distance at which image has been taken

  -s#   --scale=#    Apply additional scale on the image
  -I#   --interpol=# Choose interpolation algorithm (n[earest], b[ilinear], l[anczos])

  -o#   --output=#   Set file name for output image
        --verbose    Verbose output
        --version    Display program version and exit
  -h    --help       Display this help text
Options (18)
OptionDescriptionSource
-d--distortion Apply lens distortionhelp
-g#--geometry=# Convert image geometry to given (one of: rectilinear,fisheye,panoramic,equirectangular, orthographic, stereographic, equisolid, thoby)help
-t--tca Apply lens chromatic aberrationshelp
-v--vignetting Apply lens vignettinghelp
-a--all Apply all possible corrections (tca, vign, dist)help
-i--inverse Inverse correction of the image (e.g. simulate lens distortions instead of correcting them)help
-C#--camera=# Camera namehelp
-c#--crop=# Set camera crop factor in case the camera is not givenhelp
-L#--lens=# Lens name to search for in the databasehelp
-F#--focal=# Set focal length at which image has been takenhelp
-A#--aperture=# Set aperture at which image has been takenhelp
-D#--distance=# Set subject distance at which image has been takenhelp
-s#--scale=# Apply additional scale on the imagehelp
-I#--interpol=# Choose interpolation algorithm (n[earest], b[ilinear], l[anczos])help
-o#--output=# Set file name for output imagehelp
--verboseVerbose outputhelp
--versionDisplay program version and exithelp
-h--help Display this help texthelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.