 Most formats that employ LZW build this information into the format specification or provide explicit fields for them in a compression header for the data.A high level view of the encoding algorithm is shown here