Batik is called a resist process. Some substance, usually liquid wax, is applied to the raw cloth. When it is then dyed, the wax in the fabric resists coloring. The wax is subsequently melted away, and the raw cloth remains as a pattern in the batik, which is normally a shade of blue or brown.
Depending on the effect desired, different kinds of pens and brushes are used to apply the wax. A special tool called a janting has a copper bowl and from one to seven spouts for pouring the liquid wax onto the cloth in a controlled stream. In the 19th century in Java, a type of printing block called tjap was developed that imitates the handmade effects.
Resist dyeing may have originated in India as early as the 1st century AD. The technique was known in ancient China and is still practiced in some form throughout Southeast Asia and in several African nations. It reached its highest development in Indonesia and Malaysia, where it was originally a pastime for aristocratic women. When the Dutch colonized Java in the 17th century, they took samples of batik back to Europe, where the technique was used for printing on leather, paper, ivory, and even metal.