Using PS layer fx stoke on outside of layer with square corners


When using the layer style fx > stoke in photoshop is there a way for the stroke to have square right angled corners, whilst having the stoke set to the outside of the layer so it dosnt clip the layer. Normally when you set it to the outside it will give you rounded corners as the image below.

Background - Im using PS CC

red text markup

10/11/2014 1:23:00 PM

Another way to achieve this is to create a shape layer and add a stroke to it:

enter image description here

Then use your image as a clipping mask for the shape:

enter image description here

10/12/2014 12:41:00 PM