Shawn Hargreaves:Photoshop has filters that can do such things
Yep, just go to the blending options at the bottom of the layers panel, then click on 'Stroke' you can set which color you want the outline to be, how thick it is, or you can even make the border see-through.