Where to find some infomations about JPEG formats.

I just want to know the details of how the FDCT works.