Introduction - If you have any usage issues, please Google them yourself
Discrete cosine transform, in particular its second type are often used for signal processing and image processing for the signal images (including still images and moving images) lossy data compression. There are test images and source code