Something similar can be achieved entirely within Photoshop. Create a rounded rectangle and add a stroke effect, and choose a pattern overlay. Although this will only work for small stroke sizes of around 2px. [![enter image description here][1]][1] [1]: https://i.sstatic.net/o6JDa.png