Action: 2px Duplicate first document Name: “Local Contrast2px” With Merged Duplicate current layer Name: “min” 2 Duplicate current layer Name: “max” 2 Maximum Radius: 2 pixels Hide current layer Select layer “min” Without Make Visible Minimum Radius: 2 pixels Gaussian Blur Radius: 1.4 pixels Select layer “max” Without Make Visible Show current layer Gaussian Blur Radius: 1.4 pixels Layer Via Copy Select layer “min” Without Make Visible Layer Via Copy Move current layer To: layer 4 false High Pass Radius: 2 pixels Select layer “max copy” Without Make Visible Select Last Filter menu item Set current layer To: layer Mode: overlay Select layer “min copy” Without Make Visible Merge Layers Set current layer To: layer Mode: overlay Set current layer To: layer Name: “anti-halo” Hide current layer Select layer “max” Without Make Visible Apply Image With: calculation Source: RGB channel of layer “min” Calculation: subtract Scale: 1 Offset: 0 Invert Apply Image With: calculation Source: RGB channel of Background Calculation: multiply Set current layer To: layer Mode: linear dodge Select layer “min” Without Make Visible Apply Image With: calculation Source: RGB channel of Background Calculation: subtract Scale: 1 Offset: 255 Invert Select layer “max” Without Make Visible Merge Visible Show layer “anti-halo” Select previous document Make Layer Set Using: layer Name: “2px” Play action “subLocalContrast” of set “CBsActions”