Making image borders sharper