add rounding on image borders