After the acid treatment is completed, the pigment is precipitated by adding the strongly acidic solution to a liquid in which the pigments are completely or almost completely insoluble, preferably water or methanol or other lower aliphatic alcohols (such as ethanol, propanol, or butanol), as well as mixtures thereof.