My linear algebra teacher blurbed out that images such as jpg and png are produced using fourier transformations. what i thought was that for an image, it is split into pixels, and every pixel produces a color, and every color is produced by a corresponding wave length in the visible spectrum using a wave equation.