Pigment treatment