Applying effects : Working with deformation maps
 
Working with deformation maps
You can save the deformations you create with the Mesh Warp tool to warp other images. Corel PaintShop Pro creates a deformation map file that contains the positions of the nodes and the number of mesh lines. You can save the mesh during the warping process or after you have applied the deformation. After you save a deformation map, you can load it into other images.
To save a deformation map
Edit workspace 
1 On the Tools toolbar, choose the Warp Brush tool .
2 Drag the cursor across the image.
3 On the Tool Options palette, in the Deformation map group box, click the Save deformation map button .
The Save Deformation Map dialog box appears.
4 In the New deformation map group box, type a name for the map file.
5 In the Deformation map group box, choose a deformation map style from the drop-list.
6 In the Checkerboard size drop-list, choose a checkerboard size to help you to preview the deformation effect.
Note: This information is not saved with the map file.
7 Click Save.
The file is added to the default Deformation Maps folder.
To load a deformation map
Edit workspace 
1 On the Tools toolbar, choose the Warp Brush tool .
2 On the Tool Options palette, choose one of the following options from the Edge mode drop-list:
Background — fills areas between the edge of the image and the edge of the warp with the current background color
Fixed — fills areas between the edge of the image and the edge of the warp with replicated edge pixels
Wraparound — fills areas between the edge of the image and the edge of the warp with material from the opposite side of the image
3 On the Tool Options palette, click the Open deformation map button .
The Load Deformation Map dialog box appears.
4 In the Deformation map group box, choose a deformation map style from the drop-list.
5 In the Operation group box, choose one of the following options:
Replace current map — replaces the existing mesh nodes with the new map. Any adjustments you have made but not applied are lost.
Add to current map — adds the settings from the new deformation map to the mesh nodes. Any adjustments you have made are retained.
6 In the Mapping group box, choose one of the following options:
Fit to canvas — adjusts to fit the image canvas
Fit to layer — adjusts to fit the current layer
Current size centered on — retains original map size and positions it in the center of the canvas or layer
7 In the Preview group box, choose a checkerboard size from the drop-list to obtain the best preview of the deformation.
8 Click Load.