@dgar
Now do DCT 😁
https://en.m.wikipedia.org/wiki/Discrete_cosine_transform
(Used in the JPEG algorithm)