Nevron Barcode for SharePoint supports a variety of image borders with controllable filling, rounding, edge effects etc.
This example shows the Rectangle image border type.

 Barcode Frame Style - Rectangle