JPEG: from pixels to bitstream
(read the blog post for a better understanding of this page)