1) Find an action that will do it. There are a lot of them.
2) Create an image that is two pixels tall and one wide. Then place a dark color in the top pixel and a light color in the bottom pixel. Make a new pattern from that image, and then create a new layer in your other image and fill from pattern. Then change the transparency of that layer as it suits you.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.