GimpLensfun is a Gimp plugin to correct lens distortion using the lensfun library and database. The plugin can be found under "Filters > Enhance > GimpLensfun". It automatically detects camera, lens type, and corresponding parameters from the EXIF information embedded in the image file.