The dyed fabric is washed and laundered. To control shrinkage, it is then sent through compacting machines. This helps the fabric to have the shape intact.
Stendering, Heat Setting, Brushing etc., are other types of processess.