@retr0id although to be fair (writing as co-author of several DCT-based image/video codecs and co-maintainer of JPEG de-/encoding libraries) JPEG really is so much more of a one trick pony than pretty much anything that came after it that once you're over that DCT hump, you're mostly there
@retr0id whereas with say HEVC it's more like
1. understand the DCT and implement the various transforms in the various sizes
2. now you have 2391 other problems