Resist dyeing (resist-dyeing) is a term for a number of traditional methods of dyeing textiles with patterns. Methods are used to "resist" or prevent the dye from reaching all the cloth, thereby creating a pattern and ground. The most common forms use wax, some type of paste, or a mechanical resist that manipulates the cloth such as tying or stitching. Another form of resist involves using a chemical agent in a specific type of dye that will repel another type of dye printed over the top. The most well-known varieties today include tie-dye and batik.
Wax or paste: melted wax or some form of paste is applied to cloth before being dipped in dye. Wherever the wax has seeped through the fabric, the dye will not penetrate. Sometimes several colors are used, with a series of dyeing, drying and waxing steps. The wax may also be applied to another piece of cloth to make a stencil, which is then placed over the cloth, and dye applied to the assembly; this is known as resist printing.
Mechanical: the cloth is tied, stitched, or clamped using clothespegs or wooden blocks to shield areas of the fabric.
Chemical: a modern textile printing method, commonly achieved using two different classes of fiber reactive dyes, one of which must be of the vinyl sulfone type. A chemical-resisting agent is combined with dye Type A, and printed using the screenprint method and allowed to dry. A second dye, Type B, is then printed overtop. The resist agent in Type A chemically prevents Type B from reacting with the fabric, resulting in a crisp pattern/ground relationship. 
Resist dyeing has been very widely used in Eurasia and Africa since Antiquity. The first discoveries of pieces of linen was from Egypt and date from the fourth century, the cloth was used for the mummies that were soaked in wax, then scratched with a sharp stylus, dyed with a mixture of blood and ashes, later washed in hot water to remove the wax. In Asia, this technique was practiced in China during the T'ang dynasty (618-907), in India and Japan in the Nara period (645-794). In Africa it was originally practiced by the Yoruba tribe in Nigeria, Soninke and Wolof in Senegal.
Here you can share your comments or contribute with more information, content, resources or links about this topic.