Introduction.
This section discusses the details of the inner working of the JPEG algorithms. It is sourced from [3] [2] [1].