restore image gradient