Sanforizing is a mechanical process that reduces the shrinkage of cotton or linen fabric during washing.