In both cases, yarn-dyed or piece-dyed, the dyeing operation is always preceded by boiling-off, a process in which the gum (sericin) is removed from the fibre.
Piece-dyed brocades are our least expensive fabrics.
Also new were piece-dyed fabrics that were pigment over-dyed, and then washed to get the color back.