Installing PTLens in Corel PaintShop Pro
PTLens automatically corrects for distortion. To do this task it uses EXIF data, embedded in your image, that includes information such as camera make, model, and lens focal length. Unfortunately PSP does not support this interface and to gain access to this data it is necessary to run PTLens from a PSP script.
In PSP choose File > Preferences > File Locations. Under File Types click on Plug-ins and add the path to the PTLens installation directory. You will need to add this path to both the 32-bit and 64-bit versions of PSP.
To prepare PSP to run scripts enable View > Toolbars > Script.
Finally, navigate to the installation directory with Windows Explorer and you'll see file PTLens.PspScript. This is a script file that reads EXIF information for your image and passes this information to the plug-in. Also present are plug-ins PTLens32.8BF and PTLens64.8BF for the 32-bit and 64-bit versions of PSP. If you are unable to view file suffixes then click on the Alt key and choose Tools > Folder Options. Select the View tab and disable the checkbox for "Hide extensions for known file types".
Leave the plug-ins in the installation directory but copy file PTLens.PspScript to the following location:
C:\Users\<your username>\My Documents\Corel Paintshop Pro\<version>\Scripts-Trusted
Where <your username> is the name you use to login, and <version> is the version number for PSP. Be sure you copy to
To use the plug-in open an image, visit the Script toolbar, select PTLens (1), and choose the Play button (2).
If scripting errors appear I suggest you read the latest on this topic from Corel.