the attached utility is a work I ve submitted to the university
It shows what a jpeg compression is all about.
the function implements the DCT transform, using a matrix operator.
note that matlab has a function for the DCT and iDCT transforms
that might be more efficient.
This ZIP archive includes the sources (and executable) for the FileTest
utility, written by Ladislav Zezula.
The archive also includes the source of a general purpose "Utils" lib
which contains some generally useful functions and is also necessary
to build the executable.
The project and library are made for MS Visual C 6.0 and Visual Studio 7.0.
All necessary headers should be included (you will not need to include
NT DDK or IFS headers).